diff options
author | Shaun McCance <shaunm@gnome.org> | 2016-06-21 08:54:39 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2016-06-21 08:54:39 -0400 |
commit | 1cf5693f8a48004c7a86b06c73114353a8ab99dc (patch) | |
tree | 2feecb580a81dc500bd46a4ff4553133f7af82c6 /xslt | |
parent | 5443ba5acfb98b7a6f5455a9986e7575a4d486df (diff) | |
download | yelp-xsl-1cf5693f8a48004c7a86b06c73114353a8ab99dc.tar.gz |
Typo fixes
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/docbook/html/db2html-classsynopsis.xsl | 2 | ||||
-rw-r--r-- | xslt/mallard/common/mal-if.xsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xslt/docbook/html/db2html-classsynopsis.xsl b/xslt/docbook/html/db2html-classsynopsis.xsl index 10e5a09c..c72e9eab 100644 --- a/xslt/docbook/html/db2html-classsynopsis.xsl +++ b/xslt/docbook/html/db2html-classsynopsis.xsl @@ -65,7 +65,7 @@ at the root of a DocBook document. classsynopsis | constructorsynopsis | fieldsynopsis | methodsynopsis | destructorsynopsis | db:classsynopsis | db:constructorsynopsis | db:fieldsynopsis | - db:methodsynopsis | db:destructorsynopsis |"> + db:methodsynopsis | db:destructorsynopsis "> <xsl:variable name="if"><xsl:call-template name="db.profile.test"/></xsl:variable> <xsl:if test="$if != ''"> <xsl:variable name="language"> diff --git a/xslt/mallard/common/mal-if.xsl b/xslt/mallard/common/mal-if.xsl index 3507f366..9a221593 100644 --- a/xslt/mallard/common/mal-if.xsl +++ b/xslt/mallard/common/mal-if.xsl @@ -189,7 +189,7 @@ of dynamically showing or hiding content based on those tokens. <xsl:otherwise> <xsl:variable name="subcond"> <xsl:for-each select="str:tokenize($subexpr, ' ')[.!='1']"> - <xsl:if test="position != 1"> + <xsl:if test="position() != 1"> <xsl:text>__</xsl:text> </xsl:if> <xsl:value-of select="."/> |