dom io io OutputStreamWriter io PrintWriter parsers DOMParser xni Augmentations xni NamespaceContext xni QName xni XMLAttributes xni XMLLocator xni XMLString xni XNIException w3c dom Attr w3c dom w3c dom NamedNodeMap w3c dom Node w3c dom NodeList domaddlines domparser printwriter notincludeignorablewhitespaces xmllocator locator domaddlines inputname this.setfeature this.parse inputname printwriter outputstreamwriter system.err.println org.xml.sax.saxexception system.err.println node node node linerowcolumn node node getuserdata type node.getnodetype type node.document_node linerowcolumn node out.flush node.element_node linerowcolumn node.getnodename attr attrs sortattributes node.getattributes attrs.length attr attr attrs attr.getnodename attr.getnodevalue nodelist children node.getchildnodes children len children.getlength len children.item node.entity_reference_node node.getnodename node.cdata_section_node node.getnodevalue node.text_node node.getnodevalue node.processing_instruction_node node.getnodename data node.getnodevalue data data.length data type node.element_node node.getnodename out.flush attr sortattributes namednodemap attrs len attrs attrs.getlength attr array attr len len array attr attrs.item len name array getnodename index len array getnodename curname.compareto name name index index attr temp array array array index array index temp array startelement qname elementqname xmlattributes attrlist augmentations augs xniexception super.startelement elementqname attrlist augs node node node node this.getproperty org.xml.sax.saxexception ex system.err.println ex node node.setuserdata string.valueof locator.getlinenumber startdocument xmllocator locator encoding namespacecontext namespacecontext augmentations augs xniexception super.startdocument locator encoding namespacecontext augs this.locator locator node node node node this.getproperty org.xml.sax.saxexception ex system.err.println ex node node.setuserdata string.valueof locator.getlinenumber ignorablewhitespace xmlstring text augmentations augs xniexception notincludeignorablewhitespaces super.ignorablewhitespace text augs argv argv.length printusage argv.length arg argv arg.startswith arg.equals printusage arg.equals notincludeignorablewhitespaces domaddlines domaddexample domaddlines arg doc domaddexample.getdocument domaddexample.print doc printusage system.err.println system.err.println system.err.println system.err.println