With namespace processing
- Last Updated: October 17, 2024
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
With namespace processing
This topic shows another version of the driver example where the XML document
uses namespaces. Consequently, the StartElement and EndElement callbacks in the handler procedure use the namespaceURI and localName
parameters rather than the qName parameter.
Note: The original example could have used
localName by
itself, but did not.i-sax1dn.p is the SAX driver procedure with namespace processing.
i-sax1dn.p
|
i-sax1n.xml
i-sax1n.xml is the associated XML file with namespaces.
|
i-sax1hn.p
i-sax1hn.p is the handler procedure with namespace processing.
|
Trace of SAX driver with namespace processing
When this driver with namespace processing is run, it produces the following trace:
|