Attachment 'toc.xsl'

Download

   1 <?xml version="1.0"?>
   2 <xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1">
   3   <xsl:output method="xml" indent="yes" omit-xml-declaration="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
   4 
   5   <xsl:template match="/">
   6     <xsl:apply-templates select="/article/section/section"/>
   7   </xsl:template>
   8 
   9   <xsl:template match="/article/section/section"> * [[/<xsl:value-of select="title"/>|<xsl:value-of select="title"/>]]&#160;
  10 <xsl:apply-templates select="section"/>
  11 </xsl:template>
  12 
  13   <xsl:template match="/article/section/section/section">  * [[/<xsl:value-of select="../title"/>#<xsl:value-of select="title"/>|<xsl:value-of select="title"/>]]&#160;
  14 </xsl:template>
  15    
  16 </xsl:stylesheet>

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2021-02-25 10:01:26, 1.4 KB) [[attachment:default.css]]
  • [get | view] (2021-02-25 10:01:26, 0.8 KB) [[attachment:toc.xsl]]
  • [get | view] (2021-02-25 10:01:26, 9.6 KB) [[attachment:xhtml.xsl]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.