subsite.xsl 656 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<?xml version="1.0"?>
<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:exsl="http://exslt.org/common"
  exclude-result-prefixes="xsl exsl"
  version="1.0">

  <xsl:import href="page.xsl"/>

  <xsl:output
    method="xml"
    encoding="UTF-8"
13
    indent="yes"/>
14 15 16 17 18 19

  <xsl:variable name="href_base" select="'../'"/>

  <xsl:template match="/">
    <xsl:apply-templates select="." mode="page">
      <xsl:with-param name="pagename" select="$pagename"/>
20
      <xsl:with-param name="pagesrc" select="$pagesrc"/>
21
      <xsl:with-param name="timestamp" select="$timestamp"/>
22 23 24 25
    </xsl:apply-templates>
  </xsl:template>

</xsl:stylesheet>