|
Subject:
|
Xpath
|
|
Posted By:
|
Ma7T
|
Post Date:
|
8/16/2005 7:02:04 AM
|
Whats the best way, from the 1st appearence of column row/value, moving to the next occurance?
<item> <column/> <column> <column_row num="1" number="2"> <value>Event Count</value> </column_row> </column> <column/> <column/> <column> <column_row num="1" number="5"> <value>1</value> </column_row> </column> </item>
|
|
Reply By:
|
mhkay
|
Reply Date:
|
8/16/2005 7:15:34 AM
|
(../../following-sibling::column/column_row/value)[1]
or you could do
following::value[1]
but it might be less efficient.
Michael Kay http://www.saxonica.com/ Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
|
Reply By:
|
Ma7T
|
Reply Date:
|
8/16/2005 7:54:51 AM
|
Thanks alot.
|