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

Multiple tranformations of a given element using XSL

Subject: Multiple tranformations of a given element using XSL
From: Ram UGroups <ram_ugroups@xxxxxxxxx>
Date: Tue, 10 Dec 2002 10:16:43 -0800 (PST)
tranformations
Hello,

I do have multiple requirements that need to be
applied to a given element during an XML-XML
transformation. And I need to do it using only on XSL
file.

Can anybody please let me know if there is a way to
write different templates for different requirements
so that a template can work on already modified DOM.

To make it more clear, after I change an element name
during the first pass, if I would like to change the
content of the element during the second pass, the
second template is working on the source tree (which
is never modified) and hence the first change is being
compromised on the output tree. If there is a way I
can make the second template work on the DOM modified
by the first template, then I can probably use the new
element name in the 'match' variable of the second
template.

In essence, the first set of templates will modify the
DOM during the first pass, the modified DOM will be
the source tree for the second set of templates and so
on.

I am not sure if this is possible using a style sheet
and not any programming language. I appreciate any
input.


Thanks so much,
Ram.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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