|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: using variables in xsl value of select
Tempore 16:24:24, die 02/18/2005 AD, hinc in
xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Prasad Akella <avlnprasad@xxxxxx>:
i am loading an xml into a variable using the document asHi, So you'd like to dynamically generate an Xpath, like if there should be written: <xsl:value-of select="$srcxml//D"/> That is fundamentally not possible. But when the expression is this simple, you can mimic it: <xsl:value-of select="$srcxml//*[local-name()=$node]"/> This selects all descendant elements of $srcxml whose (local) name is stringwise equal to the string contained in variable 'node'.
|
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








