Appendix C. XSLT Style Sheet for Chapter 9

Appendix C is the XSLT style sheet used to process the topic map presented in Chapter 9 and in Appendix B.The result of applying an XSLT style sheet to an XML document is an HTML document to be displayed as a Web page.

 <xsl:stylesheet xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect" extension-element-prefixes="redirect" version="1.0"> <xsl:output method="html" indent="yes" /> <xsl:key name = "topic" match = "topic" use = "concat('#',@id)" /> <xsl:key name = "instance" match = "topic" use = "instanceOf/topicRef/@xlink:href" /> <xsl:key name = "subjectIndicator" ...

Get XML Topic Maps: Creating and Using Topic Maps for the Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.