Hi!
I have to parse an XHTML document (checking the presence of elements
and attributes) and then eventually make some modifications.
Which is the best way for this task?
I look at the JAXP api. Are they the best ones for the purpose?
Thanks for any suggestions!
Bye, Max!
Daniel Pitts - 16 Jul 2007 21:12 GMT
> Hi!
> I have to parse an XHTML document (checking the presence of elements
[quoted text clipped - 5 lines]
>
> Bye, Max!
If you need to make modifications to the XML tree after you've loaded
it, I would suggest using a DOM parser of some sort, coupled with
XPath to check for the presence of elements and attributes.