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

applying templates to all child elements except two sp

Subject: applying templates to all child elements except two specific ones
From: Ram UGroups <ram_ugroups@xxxxxxxxx>
Date: Thu, 5 Dec 2002 15:41:24 -0800 (PST)
at two sp
Hello,

I do have an element in my input XML file which has a
nested structure with lots of other elements. If the
context element is called <element1>, I need to
process all the child elements of <element1> by
changing the case of their data, leaving two specific
child elements <child1> and <child2>.

Eg:

<someroot>
<element1>
<child1>first child<child1>
<name>
<firstname>John</firstname>
<lastname>Doe</lastname>
</name>
<address>
<street>555 First Stree</street>
<city>some city</city>
<state>some state</state>
<child2>random</child2>
</address>
</element1>
<otherelements/>
</someroot>

So data of all the elements between <element1> tags
should be changed to a different case except the data
in the elements <child1> and <child2>.

Any help would be appreciated.

Thanks.


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