1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-10 19:54:12 +01:00

Update Xulmus docs, in theory.

--HG--
branch : xslt
rename : common/locale/en-US/intro.xml => vimperator/locale/en-US/intro.xml
rename : common/locale/en-US/tutorial.xml => vimperator/locale/en-US/tutorial.xml
This commit is contained in:
Kris Maglione
2009-10-24 18:45:11 -04:00
parent 2c1f7316a6
commit c697b165a0
61 changed files with 550 additions and 6072 deletions

View File

@@ -148,9 +148,18 @@
<xsl:for-each select="$localdoc/*[@insertbefore=$tag]">
<xsl:apply-templates select="."/>
</xsl:for-each>
<xsl:for-each select="$elem">
<xsl:copy><xsl:apply-templates select="node()"/></xsl:copy>
</xsl:for-each>
<xsl:choose>
<xsl:when test="$localdoc/*[@replace=$tag] and not($elem[@replace])">
<xsl:for-each select="$localdoc/*[@replace=$tag]">
<xsl:apply-templates select="."/>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$elem">
<xsl:copy><xsl:apply-templates select="node()"/></xsl:copy>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:for-each select="$localdoc/*[@insertafter=$tag]">
<xsl:apply-templates select="."/>
</xsl:for-each>
@@ -168,7 +177,7 @@
<xsl:with-param name="elem" select="self::node()"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="liberator:*[@tag]">
<xsl:template match="liberator:*[@tag and not(@replace)]">
<xsl:call-template name="splice-locals">
<xsl:with-param name="tag" select="substring-before(concat(@tag, ' '), ' ')"/>
<xsl:with-param name="elem" select="self::node()"/>