Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: multipass processing in XSLT 2.0 multipass processing in XSLT 2.0To: NULL Date: 7/6/2009 12:01:00 PM Hi. Suppose I want to turn this: <indoc> <heading>Aaaa aaaa</heading> <p y="34" x="22">Iiii iiii.</p> <p y="11" x="56">Jjjj jjjj.</p> <p y="93" x="70">Kkkk kkkk.</p> <z>Ssss ssss.</z> </indoc> into this: <OUTDOC> <HEADER A="70" B="93">Aaaa aaaa</HEADER> <ZED>Ssss ssss.</ZED> <PARA>Iiii iiii.</PARA> <PARA>Jjjj jjjj.</PARA> <PARA>Kkkk kkkk.</PARA> </OUTDOC> I've got a mix of elements and attributes, changing places and owners. Also need to pick up an attribute value on the last <p> element and use it up at the top of the output stream. But I'm finding it difficult to find examples of XSLT 2.0 multipass processing, only assurances that it's much easier than in 1.0. Can anyone here do a quick 2.0 transform that I could then use as a model for this kind of task generally? I would be very appreciative. Thanks -- ---larry | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
