XPath statement for traversing a nested node structure
I need to determine between the begining of one nested structure and another the number of occurances of a particular element.
<TABLE><DPROW><OBJECT></OBJECT></DPROW></TABLE> would yield an occurance of one OBJECT element using the XPath statement DPROW/OBJECT.
The above XPath statement falls apart though when I introduce nested structures.
Inner most TABLE element has two OBJECT elements and the outer TABLE element would yield one OBJECT element.
What is a valid XPath statement need for traversing the nested xml structure above?
Any help would be greatly appreciated.
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