W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2008

search and replace kind of operations with XML

From: dave <ceek63@yahoo.com>
Date: Wed, 6 Feb 2008 19:39:56 -0800 (PST)
To: user@xmlbeans.apache.org, xmlschema-dev@w3.org
Message-ID: <206985.93419.qm@web38001.mail.mud.yahoo.com>


For a given XML input, I would need to perform 'Search
and Replace' operation on Element/Attribute Tag names
and values. The resultant output is a transformed XML.
Since I would like to change both Tags and Values,
what is the best way to accomplish this? XSLT or
Xpath/XQuery or combination of both?

 OR are there any special apis in XmlBeans to
accomplish this?



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
Received on Thursday, 7 February 2008 03:40:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:02 GMT