This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Can any one tell me how to write a xml file while the content from the database contains XML-relevant
characters like '&' or '<'..
In the case of normal file writer concept i can write into xml file without any hassle..but while reading the file., Internet Explorer throws an error like Whitespace is not allowed at this location. Error processing resource 'file:///C:xxxxx/xxx.xml Line 202 where line 202 contains a field with " & " .
I already did. Instead of writing a single "&" you have to write the string "&", and so on. So if your text node looks like "A & B" then you have to write "A & B". That's what "escaping" means.
But you might find it easier to just write each of your text nodes as CDATA sections.