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 ]
  • To: David Carlisle <davidc@nag.co.uk>
  • Subject: Re: [xml-dev] XSLT 2.0: Definition of a structure and its use
  • From: "Agnisys Technology \(P\) Ltd." <agnisys@yahoo.com>
  • Date: Wed, 14 Sep 2005 07:59:39 -0700 (PDT)
  • Cc: xml-dev@lists.xml.org
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pcgnCj8N/M4GH7mTwfg+GBZH9mk7gs83NB1zIu3ykKFkYWblVP7mFC0WtHT6htMrI2GZmjDqK5YNPPU35VNQ/Pu422P35Ms2yZTxSgH5/K8L7RDBT8qauZkSE0j17gVTjeqwuTWQ8aT6Xhg/I2A7+RCRgwabZ0VYUIEFWUKyzHg= ;
  • In-reply-to: <200509141447.PAA16219@penguin.nag.co.uk>

I am sorry, that is what I don't understand. How to do two transforms in succession?
I know Michael tried to explain it to me which wasn't clear, also you suggested node-set and I got
further confused. If you could just suggest to me how to pass the result of one transform to the
other, that would solve the problem.

What you have described is exactly what I want to do. But I'm not clear how to do it.

Once I have a solution I'll post it to the two discribution lists.

Appreciate your help.
Anupam.


--- David Carlisle <davidc@nag.co.uk> wrote:

> 
> 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
> ________________________________________________________________________
> 



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




 

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

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