Friday, December 19, 2008

How to make XML Parser ignore the parsing the tag?

There are two ways to do:
A-
1. put standalone="yes" to declaration.
2. Starting XDK for Java 9.0.2D, the customer can use the function

B-
xmlparser.setAttribute(XMLParser.STANDALONE, Boolean.TRUE)
to treat the input file as if it had standalone="yes" in the XML declaration.

No comments: