[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
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|