view docs/xslt/module.xslt @ 4091:db565f0198f5

- The "example" element can now contain sub-elements. - Added entities for Unicode quotes.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 12 Sep 2011 09:49:56 +0000
parents da811964e37c
children dc1fa52222b4
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

   <xsl:output indent="no" encoding="utf-8" method="html"/>

   <xsl:strip-space elements="*"/>

   <xsl:param select="'../xml'" name="XML"/>

   <xsl:variable select="/module/@id" name="ID"/>

   <xsl:include href="directive.xslt"/>

   <xsl:include href="content.xslt"/>

   <xsl:template match="/module">

      <html>
         <head>

            <title>
               <xsl:value-of select="@name"/>
            </title>

         </head>

         <body>

            <xsl:apply-templates/>

         </body>

      </html>
   </xsl:template>

</xsl:stylesheet>