|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: gettin value of a node
<xsl:value-of select="//y[//x=$pos]"/> > this statement does not work for me it gives me the same value for all > the y's firstly your predicate //x does not depend on the current nnode as it is an absolute path from the root, so clearly will give th esame value always. But also you don't want to use value-of as that just gives the string value of the first node selected, and discards all other nodes. You probably want copy-of or allpy-templates, depending on what you want to do. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. 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








