Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Re[groovy-user] place all occurances of a certain string in a file

SophosGuy

2008-08-27

Replies: Find Java Web Hosting

Author LoginPost Reply

Hey everyone,

So as it goes with some vendors we have one that sends us XML that is not
properly formed, and we would like to search through the document and
replace these strings with the proper escaped version (IE replace & with
&)

Now I want this to be written back to the file so that I can then use
XMLslurper on it without getting errors. Anyone have experiance doing this
kind of thing? Any ideas?
--
Sent from the groovy - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.