Posted on 2002-06-19
I need to parse an XML document, but I am finding limitations with the TXMLDocument component in Delphi 6.
I hope that someone can indicate a way around these problems, but if not a suggestion of a good solid alternate XML component will win the points.
Here's a simple example of the kind of document I need to parse...
<p>Here is some <b>bolded</b> text</p>
<p>A field gets inserted here <field name="afield" width="10" align="right"/></p>
When I try to traverse the nodes there are problems because of the embedded tags (e.g. <b> inside <p>) that make it hard to get to the text (e.g. the "Here is some " part).