1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 04:05:46 +01:00

Add basic support for plugins including help data.

This commit is contained in:
Kris Maglione
2009-10-31 19:59:37 -04:00
parent 8fc29193e1
commit 24de0a81a2
3 changed files with 14 additions and 8 deletions

View File

@@ -50,8 +50,8 @@
<xsl:variable name="tag" select="concat('h', $level)"/>
<xsl:variable name="lasttag" select="concat('h', $level - 1)"/>
<xsl:variable name="nodes" select="//liberator:document/liberator:*[
local-name() = $tag and preceding-sibling::*[local-name() = $lasttag][position() = 1 and . = $context]]"/>
<xsl:variable name="nodes" select="//liberator:*[
local-name() = $tag and preceding::*[local-name() = $lasttag][position() = 1 and . = $context]]"/>
<xsl:if test="$nodes">
<html:ol liberator:highlight="HelpOrderedList">
@@ -139,7 +139,7 @@
</xsl:template>
<xsl:template match="liberator:tag|@tag" mode="pass-2">
<xsl:call-template name="parse-tags">
<xsl:with-param name="text"><xsl:value-of select="."/></xsl:with-param>
<xsl:with-param name="text" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template name="parse-tags">