Code example for NamespaceSupport

0
    private Node                start;
    private Node                current;
    private boolean             isL2;
    private boolean             showNamespaces = true;
    private boolean             showXML1_0 = false;
    private NamespaceSupport    prefixStack = new NamespaceSupport ();
    private boolean             isDocument;
 
 
    /** 
     * Constructs an unitialized <b>SAX2</b> parser. 
     */ 
    public DomParser () { 
    } 
 
    /** 
     * Constructs an <b>SAX2</b> parser initialized to traverse the specified 
     * DOM tree.  If the node is a document, the startDocument() and 
     * endDocument() calls bracket the calls exposing children. 
     */ 
    public DomParser (Node node) {