|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to specify a path to a node in a nodeset using
> I have the following scenario > > INPUT.XML > <document> > <group> > <row> > <label>User Id:</label> > <entryfield name="/Person/UserId/@name"/> <!-- > <xsl:variable name="path" select="string(@name)"/> > <xsl:value-of select="$container/$path"/> Inventive, but it doesn't work. Variables can only hold values, they can't hold expressions or parts of expressions. Saxon (and I think several other products, now) has an evaluate() extension function that will do this for you. Mike Kay Software AG 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








