This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Dynamic xsl:value-of
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 26 Apr 2002 15:41:55 +0100
- Subject: RE: [xsl] Dynamic xsl:value-of
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:value-of
> select="/db2000/http/param[@name='type{position()}]/@value/>
> </xsl:template>
>
> The problem is that the syntax don't work :)
>
> Any ideas on how I can construct the xpath expression dynamically?
>
select="/db2000/http/param[@name=concat('type', position())]/@value"
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list