|
Subject: RE: [xsl] Using a variable as an attribute name From: Cams Ismael <Ismael.Cams@xxxxxxxxxxxxxxx> Date: Tue, 21 Jan 2003 08:32:42 +0100 |
> <xsl:variable name="attributeName" select="'charstyname'"/>
> <xsl:variable name="before" select="preceding-sibling::*[1]"/>
> <xsl:when test="not( $before[@$attributeName='Footnote'] )">
> [...]
> </xsl:when>
You can not use @$attributeName
Instead try:
<xsl:variable name="attributeName" select="'@charstyname'"/>
<xsl:variable name="before" select="preceding-sibling::*[1]"/>
<xsl:when test="not( $before[$attributeName='Footnote'] )">
[...]
</xsl:when>
Hope this helps.
Kind regards,
Ismaël
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Using a variable as an at, Américo Albuquerque | Thread | [xsl] What is wrong with this xsl ?, Latha V. M. |
| [xsl] OT: Which email client & plat, Allister Jenks | Date | Re: [xsl] Number error with XALAN, sascha |
| Month |