xsl-list
[Top] [All Lists]

[xsl] How to apply templates to all child elements except a few

2006-10-17 11:39:17
Hi:

I was wondering if there was any way in xslt to APPLY TEMPLATES a few elements and exclude a few

Suppose i have an xml with a root element as el1
<el1>
<CHILD1></CHILD1>
<CHILD2></CHILD2>
<CHILD3></CHILD3>
<CHILD4></CHILD4>

</el1>
I want to write something like apply templates to all elements except CHILD4. How do I do this?

Can someone please guide me here.

Thank you.

_________________________________________________________________
Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--