- we now use only one step of XSL transformation
svn path=/trunk/; revision=25171
This commit is contained in:
@@ -3,39 +3,23 @@
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:output method="xml"
|
||||
encoding="ISO-8859-1"
|
||||
indent="yes"
|
||||
/>
|
||||
<xsl:import href="../../fsfe.xsl" />
|
||||
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
</xsl:copy>
|
||||
<xsl:template match="signatories">
|
||||
<h3 id="organisations">
|
||||
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'osig'" /></xsl:call-template>
|
||||
</h3>
|
||||
<ul>
|
||||
<xsl:apply-templates select="/buildinfo/document/set/osig/node()" />
|
||||
</ul>
|
||||
|
||||
<h3 id="individuals">
|
||||
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'isig'" /></xsl:call-template>
|
||||
</h3>
|
||||
<ul>
|
||||
<xsl:apply-templates select="/buildinfo/document/set/isig/node()" />
|
||||
</ul>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/html/body">
|
||||
<body>
|
||||
<xsl:apply-templates />
|
||||
<h3><xsl:value-of select="/html/text[@id='osig']" /></h3>
|
||||
<ul>
|
||||
<xsl:apply-templates select="/html/set/osig/node()" />
|
||||
</ul>
|
||||
|
||||
<h3><xsl:value-of select="/html/text[@id='isig']" /></h3>
|
||||
<ul>
|
||||
<xsl:apply-templates select="/html/set/isig/node()" />
|
||||
</ul>
|
||||
<xsl:apply-templates select="/html/text/footer/node()" />
|
||||
</body>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="@*|node()" priority="-1">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/html/set" />
|
||||
<xsl:template match="/html/text" />
|
||||
</xsl:stylesheet>
|
||||
|
Reference in New Issue
Block a user