Subject: [xsl] Multiple tranformations of a given element using XSL From: Ram UGroups <ram_ugroups@xxxxxxxxx> Date: Tue, 10 Dec 2002 10:16:43 -0800 (PST) |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] sorting from a set of values , Blaise, Isaac J | Thread | Re: [xsl] Multiple tranformations o, Mike Brown |
RE: [xsl] Copying nodes, Juan Carlos Gonzalez | Date | Re: [xsl] Test for current node bei, Dimitre Novatchev |
Month |