I would try to work with them to clean up the XML file at the source - that's the key to the wonderful world of XML: syntactically valid XML.
----- Original Message ----- From: "Emily C. Grossman" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 1:54 PM Subject: QUESTION: XML feed > I am pulling a file from a company that has set up an xml feed. Needless to > say, sometimes the file is full of errors -- things like <p and no end ">" > cause my system to break. At first I was using ReReplace and Replace to read > the file and replace the non wddx code but now it seems as if I have to plan > for every potential mistake they could possibly make since I may get junk like > above. > > Does anyone have a solution to problems like the one above? Is there any > magical tool I can use? As long as their XMLfeed is clean, I can run my > rereplaces and replaces and turn their non-wddx into wddx but I can't plan for > these types of situations, at least not how I'm currently doing it.. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists