[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

how to get position of node in node-set

Subject: how to get position of node in node-set
From: "Kloeck, Erwin" <Erwin.Kloeck@xxxxxx>
Date: Thu, 11 Sep 2003 18:06:54 +0200
position in node
Hi,

I have a node-set of entries that all have different values for their text attribute.
An entry looks like this <entry text="aaa"/>.
This node set is build through muenchian grouping and assigned to a variable called 'legend'.

Now, for some current entry, I need to know the position of an entry with the same text attribute 
within the $legend node-set.


eg. $legend contains entries <entry text="aaa"/>, <entry text="bbb"/> <entry text="ccc"/>.
for some entry <entry text="ccc"/> I need to get the number 3. 

Can this be done?

Thanks

..............................

Erwin Kloeck
Produktentwicklung

Oestreicher + Wagner 
Medientechnik GmbH
Frankenthaler Strasse 20
D-81539 Muenchen

Fon   +49 (0)89-68961 216 
Fax   +49 (0)89-68961 271


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.