find position of first occurrence in a node set
I have a node set that looks like this:
<segment type='SL'> A </segment>
<segment type='GS'> B </segment>
<segment type='HL'> C </segment>
<segment type='PR'> D </segment>
I need to find the position of the first <segment> element that has the type of 'HL'. So for my example above it should return 3.
Thanks you in advance,
James Neff Technology Specialist
Tethys Health Ventures 4 North Park Drive, Suite 203 Hunt Valley, MD 21030
office: 410.771.0692 cell: 443.865.7874
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