Skip to Content
XSLT and XPATH: A Guide to XML Transformations
book

XSLT and XPATH: A Guide to XML Transformations

by John Robert Gardner, Zarella L. Rendon
July 2001
Intermediate to advanced
592 pages
11h 16m
English
Pearson
Content preview from XSLT and XPATH: A Guide to XML Transformations

6.7. Comments and Processing-Instructions

There are two XSLT instruction elements that create what is considered content internal to the output XML document. Normally, internal content is not intended for end users. This internal content can be in the form of XML processing instructions, or XML comments. Processing instructions, or PIs, and comments are embedded in the output XML document as part of the document structure, but are not considered part of the document content, and cannot be seen by most rendering engines.

Processing instructions generated with <xsl:processing-instruction> are used by an external process, identified by the target of the PI, to handle the XML file in a specific way, based on the parameters of the PI. Comments generated ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning XSLT and XPath: Transforming XML Documents and Data

Beginning XSLT and XPath: Transforming XML Documents and Data

Ian Williams
Java and XSLT

Java and XSLT

Eric M. Burke
Learning XSLT

Learning XSLT

Michael Fitzgerald

Publisher Resources

ISBN: 0130404462Purchase book