RE: parameter in path

Subject: RE: parameter in path
From: "Nanto, Dan" <dnanto@xxxxxxxxxx>
Date: Fri, 1 Dec 2000 11:39:35 -0700
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@xxxxxx]
Sent: Wednesday, November 29, 2000 9:08 AM
To: xsl-list@xxxxxxxxxxxxxxxx
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


Current Thread