|
Subject: Re: [xsl] minor grouping issue From: "Bruce D'Arcus" <bdarcus@xxxxxxxxx> Date: Sat, 7 May 2005 18:47:06 -0400 |
It's probably simplest to put the xsl:number within an xsl:choose to distinguish the two cases.
<xsl:function name="db:number-footnote" as="xs:string">
<xsl:param name="footnote" as="element(db:footnote)"/>
<xsl:choose>
<xsl:when test="$chapters/db:chapter">
<xsl:number level="any" count="$footnote" from="db:chapter"/>
</xsl:when>
<xsl:otherwise>
<xsl:number level="any" count="$footnote"/>
</xsl:otherwise>
</xsl:choose>
</xsl:function>F XPath syntax error at char 0 in {$footnote}:
Unexpected token in pattern, found "$"| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] minor grouping issue, Michael Kay | Thread | RE: [xsl] minor grouping issue, Michael Kay |
| RE: [xsl] Can't get predicates work, Aron Bock | Date | RE: [xsl] minor grouping issue, Michael Kay |
| Month |