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 7. Using Multiple Stylesheets

  • <xsl:include>

  • <xsl:import>

  • <xsl:apply-imports>

  • Conflict resolution for template rules

Up to this point in our discussion of XSLT stylesheets, we have talked about the stylesheet as the only file that contains all the templates that are being processed. XSLT also allows you to work with more than one stylesheet at a time.

The possibility of using multiple stylesheets and accessing their content selectively provides a means of grouping related template rules, packaging them together according to their function. For example, you may want to have a separate stylesheet that only handles tables, or one that handles list formatting. These separate stylesheets do not need to be physically incorporated into the main ...

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