Subject: Re: [xsl] how to get position of node in node-set From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 11 Sep 2003 12:42:06 -0400 |
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.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to split table colums, J.Pietschmann | Thread | AW: [xsl] how to get position of no, Kloeck, Erwin |
RE: [xsl] How to use two xmls for c, Mukul Gandhi | Date | AW: [xsl] how to get position of no, Kloeck, Erwin |
Month |