Bit of SQL help please
Discussion
Hi chaps,
At work we a pretty large SQL db. Some of the data gets exported as XML. Anyhow, XML doesn't seem to like "quotes" in the title field, so I need to run a script to delete all of the "s in the tables. Specifically in the TITLE field in our MATERIAL table.
Anyone know a good bit of script to help me out.
Cheers, Dan
At work we a pretty large SQL db. Some of the data gets exported as XML. Anyhow, XML doesn't seem to like "quotes" in the title field, so I need to run a script to delete all of the "s in the tables. Specifically in the TITLE field in our MATERIAL table.
Anyone know a good bit of script to help me out.
Cheers, Dan

As pdV^ says, you khave to replace all these 'special' characters in XML. It should be trivial to write a parsing function that does the replacements for you, we used have one that took two parameters, the XML and a switch indicating which 'direction' to do the conevrsion. There must be loads of similar functions available on t'Interweb.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


