xsl-list
[Top] [All Lists]

keeping source element after template applied?

2002-12-03 15:41:15
Hi,

I have a document in which I'd like some elements to remain intact, after I've 
applied a transformation template to them.

The reason is that there's more than transformation that has to be made, by 
other matching templates, to this element before it can be removed.

I want to do:

xsl template match="myElement"
do one complex thing

xsl template match="myElement"
do another complex thing, and let element be removed

I'm not seeing any provision for this, is there a way to do so?

thanks 
Kevin

p.s.
If you want to know why i need to do this, it's because when served to the 
device, the elements can be followed down more than one path.

The source doc is served to a engineering device, the paths down the doc are 
determined by user choices.

So this can be documented, but I need to apply more than one transformation to 
the elements that are at the start of the choice paths.

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at 
http://webmail.netscape.com/

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