[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] first occurance of node with hierarchy


Subject: [xsl] first occurance of node with hierarchy
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Mon, 25 Mar 2002 14:34:56 -0000

Hi all,

I need to output a number for the first occurance of node <para> within any
<step>. For example:

<step1>
  <para>here</para>
  <step2>
    <specpara>
      <para>here</para>
    </specpara>
    <para>not here</para>
  </step2>
  <para>not here</para>
</step1>

<para>'s appear either as a child of stepx or within <specpara>'s within the
step.  I need to find the first occurance of <para> within each step.

cheers
andrew


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/2002



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



Current Thread