HDISVM01 ;BPFO/JRP - PARSE XML DOCUMENT USING SAX;12/20/2004
Source file <HDISVM01.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
SAX(XMLARR,PRSARR) | ;Parse XML document using SAX interface
; Input: XMLARR - Global array containing XML document (closed root) ; PRSARR - Array to output parsed XML document (closed root) |
|
STRTDOC | ;Start document
|
|
ENDDOC | ;End document
|
|
DOCTYPE(ROOT,PUBID,SYSID) | ;DOCTYPE declaration
|
|
STRTLMNT(NAME,ATTRLIST) | ;Start element
|
|
ENDLMNT(NAME) | ;End element
|
|
CHARS(TEXT) | ;Non-markup content
|
|
PI(TARGET,TEXT) | ;Processing instruction
|
|
EXTERN(SYSID,PUBID,GLOBAL) | ;External entity reference
|
|
NOTATION(NAME,SYSID,PUBID) | ;Notation declaration
|
|
COMMENT(TEXT) | ;Comment
|
|
ERROR(ERR) | ;Error
|
|
UNESC(TEXT) | ;Convert escaped characters
|