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

Chapter 10. Controlling Output Options

  • <xsl:output>

  • <xsl:strip-space>

  • <xsl:preserve-space>

  • <xsl:message>

In this chapter, we will work with elements that are, for the most part, concerned with how the output from the stylesheet is handled or processed, and what kind of output it will be. The first element, <xsl:output>, is not used to create output (contrary to its name), but controls the logical structure of the output, and what kinds of processing-specific components are to be included or excluded. The other two top-level elements discussed in this chapter are the complementary pair <xsl:strip-space> and <xsl:preserve-space>. Notably, <xsl:strip-space> and <xsl:preserve-space> do not affect output directly; they govern the handling of whitespace ...

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