How do I use XML namespaces with SAX 2.0?
XML Interview Questions and Answers
(Continued from previous question...)
102. How do I use XML namespaces with SAX 2.0?
SAX 2.0 primarily supports XML namespaces through the following methods:
* startElement and endElement in the ContentHandler interface return namespace names (URIs) and local names as well as qualified names.
* getValue, getType, and getIndex in the Attributes interface can retrieve attribute information by namespace name (URI) and local name as well as by qualified name.
(Continued on next question...)
Other Interview Questions
|