[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT 2.0: Definition of a structure and its use

  • To: David Carlisle <davidc@n...>
  • Subject: Re: XSLT 2.0: Definition of a structure and its use
  • From: "Agnisys Technology \(P\) Ltd." <agnisys@y...>
  • Date: Wed, 14 Sep 2005 07:59:39 -0700 (PDT)
  • Cc: xml-dev@l...
  • 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@p...>

definition of a structure
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@n...> 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 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.