callista wrote: > Is there a way to identify whether an empty tag in the xml is in '<tag/>' > or '<tag></tag>' format? The startElement() and endElement() of the > XMLParser only identifies that the tags are found but no details about > whether the 1st or 2nd format of end tags were found.
Xerces2 has introduced a new method in its XMLDocumentHandler called "emptyElement" which reports the occurrence of tags such as "<tag/>". The standard startElement/endElement calls will be used for "<tag></tag>" as expected. -- Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
