InterviewSolution
| 1. |
How Do I Use Xml Namespaces With Sax 2.0? |
|
Answer» 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. 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. |
|