[Home] [By Thread] [By Date] [Recent Entries]



This is more of an xsl-list qn (I don't believe this version appeared
on xsl-list).

You could pass the parentid down as a parameter, but if your real case
requires a lot of state being passed like than this, do as you've
previously had suggested on xsl-list first transform your document to
expand the references:

so you have

<a>
    <b offset="5">
         <reg>reg_1</reg>
        <reg>reg_2</reg>
          <reg>reg_10</reg>
         <reg>reg_20</reg>
        <reg>reg_3</reg>
     </b>
 </a>

Then do a second transformation that does whatever transformation you
require, without having to worry about references.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member