OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XSLT 2.0: Definition of a structure and its use

[ Lists Home | Date Index | Thread Index ]


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
________________________________________________________________________




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS