O'Reilly logo

XML Topic Maps: Creating and Using Topic Maps for the Web by Jack Park, Sam Hunting

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required