The SaxDocumentHandler class / om.SaxDocumentHandler methods |
Processes the beginning of an element.
startElement( tagname STRING, attrs om.SaxAttributes )
The startElement() method processes the beginning of an element with the SAX interface.
Use the om.SaxAttributes methods to handle the attributes of an element.
DEFINE out om.SaxDocumentHandler attrs om.SaxAttributes, node om.DomNode, x INTEGER ... CALL attrs.clear() FOR x=1 TO r.getAttributesCount() CALL attrs.addAttribute( node.getAttributeName(x), node.getAttributeValue(x) ) END FOR CALL out.startElement( node.getTagName(), attrs )