Ok, I've got a little problem here. I'm reading an XML file from a third 
party and displaying it's content. The problem is that the third party 
is not checking for illegal characters in the XML file. So things like:

<news>He & me are</news>

will show up in the damn thing. So I want to replace the special 
characters, but only those that are outside of the tags. I've probably 
got to use a regexp for this, but I'm not sure how to do this. I know I 
can select part of a sctring with regexp and replce it with a changed 
version of thet string, but how is that done efficiently, and in one 
REReplace (I know it can be done, but don't know how).

Anyone?

Jesse

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to