This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: parameter in path
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: parameter in path
- From: "Nanto, Dan" <dnanto at solant dot com>
- Date: Fri, 1 Dec 2000 11:39:35 -0700
- Reply-To: xsl-list at mulberrytech dot com
You might be able to use xsl:attribute.
<xsl:param name="p1" select="'abc">
<xsl:value-of>
<xsl:attribute name="select">//some1/<xsl:value-of
select="$p1"/>/some2</xsl:attribute>
</xsl:value-of>
-----Original Message-----
From: Frank Hess [mailto:hess.frank@web.de]
Sent: Wednesday, November 29, 2000 9:08 AM
To: xsl-list@mulberrytech.com
Subject: parameter in path
Hi,
is it possible to use a paramter in the path of the select of a xsl:value-of
?
Example:
<xsl:param name="p1" select="'abc">
<xsl:value-of select="//some1/$p1/some2"/>
Frank
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list