stfc_boy
11-12-2009, 09:11 AM
Hi,
I have an XML file i'm parsing into a database and i'm getting several characters in the database like so:
& #8232;
& #8232;
& #8195;
& #65533;
& #8486;
& #61630;
& #8729;
Now these are html characters, but I want to get rid of them and replace them with their non-html character. Now someone mentioned creating an XML entiry list which I presume runs before the XML file is read and and replaces these characters. Is that right?
If so can anyone point me in the right direction with some simple tutorials as to how this works or post an example? I've tried googling, but everything i've read does not really answer my question.
Or tell me if i'm completely wrong and there is another way to replace these characters?
Many Thanks
Chris
I have an XML file i'm parsing into a database and i'm getting several characters in the database like so:
& #8232;
& #8232;
& #8195;
& #65533;
& #8486;
& #61630;
& #8729;
Now these are html characters, but I want to get rid of them and replace them with their non-html character. Now someone mentioned creating an XML entiry list which I presume runs before the XML file is read and and replaces these characters. Is that right?
If so can anyone point me in the right direction with some simple tutorials as to how this works or post an example? I've tried googling, but everything i've read does not really answer my question.
Or tell me if i'm completely wrong and there is another way to replace these characters?
Many Thanks
Chris