Christian Geuer-Pollmann wrote:
There IS no difference between <a/> and <a></a> or <a />, so no DOM or SAX or whatever API will tell you. If you (for some unknown) reason REALLY have to know this, write your own parser and work directly on the input octets.

There's no need to go so far -- XNI already provides this information. Just extend the parser class of your choice and intercept the "emptyElement" method.

--
Andy Clark * [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to