[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [TV] Re: XML Parsing
I have written the parsing code myself for this. the overhead was too great
using existing parsers and I only need a subset of the information contained
in the XML files.
The way I handle HTML entities is to parse the XML into a tree structure,
ignoring any unwanted tags and then do a search replace on the relevant
content strings. At the moment I have only found it necessary to scan the
"Title" and "Desc" strings for HTML entities.
I admit that rolling my own XML parser may seem a bit wierd, but my last
project (abandoned) was a Pascal compiler for the Palmpilot, so parsing
techniques were fresh in my mind.