HDISVM01 ;BPFO/JRP - PARSE XML DOCUMENT USING SAX;12/20/2004
Source file <HDISVM01.m>
Package | Total | Call Graph |
---|---|---|
M XML Parser | 1 | EN^MXMLPRSE |
VA FileMan | 1 | ($$CREF,$$OREF)^DILF |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Health Data and Informatics | 1 | HDISVM00 |
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
|
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AINDX | SAX+20~, SAX+24*, STRTLMNT+18, STRTLMNT+22 |
ASN | STRTLMNT+1~, STRTLMNT+18*, STRTLMNT+19, STRTLMNT+20*, STRTLMNT+21, STRTLMNT+22, STRTLMNT+24 |
ASUBS | SAX+20~, SAX+23*, STRTLMNT+20, STRTLMNT+21 |
ATTR | STRTLMNT+1~, STRTLMNT+15*, STRTLMNT+16*, STRTLMNT+18, STRTLMNT+21, STRTLMNT+22, STRTLMNT+24 |
ATTRLIST | STRTLMNT~ |
ATTRLIST( | STRTLMNT+16, STRTLMNT+24 |
DATA | SAX+20~, SAX+25*, STRTLMNT+9, STRTLMNT+11, STRTLMNT+13*, STRTLMNT+24, ENDLMNT+3, ENDLMNT+8*, CHARS+2 |
EINDX | SAX+20~, SAX+22*, STRTLMNT+3, STRTLMNT+7 |
ERR | ERROR~ |
ESCBEG | UNESC+2~, UNESC+10*, UNESC+11, UNESC+12, UNESC+21 |
ESCCHAR | UNESC+2~, UNESC+14*, UNESC+15*, UNESC+16*, UNESC+17*, UNESC+18*, UNESC+19*, UNESC+21 |
ESCEND | UNESC+2~, UNESC+11*, UNESC+12, UNESC+23 |
ESCTXT | UNESC+2~, UNESC+12*, UNESC+15, UNESC+16, UNESC+17, UNESC+18, UNESC+19 |
ESN | STRTLMNT+1~, STRTLMNT+3*, STRTLMNT+4, STRTLMNT+5*, STRTLMNT+6, STRTLMNT+7, STRTLMNT+9, STRTLMNT+12, STRTLMNT+18, STRTLMNT+21 , STRTLMNT+22 |
ESUBS | SAX+20~, SAX+21*, STRTLMNT+5, STRTLMNT+6 |
GLOBAL | EXTERN~ |
HDICBK | SAX+19~, SAX+40 |
HDICBK("CHARACTERS" | SAX+32* |
HDICBK("COMMENT" | SAX+36* |
HDICBK("DOCTYPE" | SAX+29* |
HDICBK("ENDDOCUMENT" | SAX+28* |
HDICBK("ENDELEMENT" | SAX+31* |
HDICBK("ERROR" | SAX+37* |
HDICBK("EXTERNAL" | SAX+34* |
HDICBK("NOTATION" | SAX+35* |
HDICBK("PI" | SAX+33* |
HDICBK("STARTDOCUMENT" | SAX+27* |
HDICBK("STARTELEMENT" | SAX+30* |
NAME | STRTLMNT~, STRTLMNT+3, STRTLMNT+6, STRTLMNT+7, ENDLMNT~, NOTATION~ |
OUTPUT | UNESC+2~, UNESC+7*, UNESC+21*, UNESC+25*, UNESC+26 |
PRSARR | SAX~, SAX+18, SAX+21, SAX+22, SAX+23, SAX+24, SAX+25, SAX+39 |
PUBID | DOCTYPE~, EXTERN~, NOTATION~ |
REP | STRTLMNT+1~, STRTLMNT+9*, STRTLMNT+12 |
ROOT | DOCTYPE~ |
SUBCHK | ENDLMNT+1~, ENDLMNT+5*, ENDLMNT+6, ENDLMNT+7 |
SUBCNT | ENDLMNT+1~, ENDLMNT+4*, ENDLMNT+5 |
SUBNUM | SAX+19~ |
SYSID | DOCTYPE~, EXTERN~, NOTATION~ |
TAGNAME | SAX+19~ |
TARGET | PI~ |
TEXT | CHARS~, CHARS+2, PI~, COMMENT~, UNESC~, UNESC+3*, UNESC+4, UNESC+5, UNESC+8, UNESC+10 , UNESC+11, UNESC+12, UNESC+21, UNESC+23*, UNESC+25 |
TMPREF | STRTLMNT+1~, STRTLMNT+11*, STRTLMNT+12*, STRTLMNT+13, ENDLMNT+1~, ENDLMNT+3*, ENDLMNT+4, ENDLMNT+6*, ENDLMNT+7*, ENDLMNT+8 |
XMLARR | SAX~, SAX+16, SAX+17, SAX+40 |