[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Greetings,
I have a node set that looks like this:
<transaction_set>
....
</transaction_set>
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,
--
[xsl] find position of first occurrence in a node set
Subject: [xsl] find position of first occurrence in a node set From: James Neff <jneff@xxxxxxxxxxxxxxxx> Date: Fri, 29 Jul 2005 14:08:09 -0400 |
Greetings,
I have a node set that looks like this:
<transaction_set>
<segment type='SL'> A </segment>
<segment type='GS'> B </segment>
<segment type='HL'> C </segment>
<segment type='PR'> D </segment>
....
</transaction_set>
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] $variable scpoe, Michael Kay | Thread | Re: [xsl] find position of first oc, JBryant |
[xsl] $variable scpoe, Jiang, Peiyun | Date | Re: [xsl] find position of first oc, JBryant |
Month |