|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: parameter in path
> is it possible to use a paramter in the path of the select of > a xsl:value-of ? > > <xsl:param name="p1" select="'abc"> > <xsl:value-of select="//some1/$p1/some2"/> > Third time in a week! No, variables and parameters in XPath don't work by textual substitution. A variable can only be used in places where the syntax explicitly permits it. There is no mechanism in XSLT 1.0 to construct an expression from a string. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








