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

Removing attributes in a generic way ...

Subject: Removing attributes in a generic way ...
From: "Charles Ohana" <charles.ohana@xxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2005 14:53:32 -0500
xml delete attribute
Hello,
I'm trying to remove some attributes in a generic way. see example below. I need to remove all last_name attributes regardless of the node.
Is there a generic way .


Thanks in advance.


Original document <root> <person first_name="Dave" last_name="Rowe"> <person first_name="Sandra" last_name="Smith" /> </person> <person first_name="Patrick" last_name="Sullivan" /> </root>


Expected output
<root>
<person first_name="Dave">
<person first_name="Sandra" />
</person>
<person first_name="Patrick" />
</root>


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.