EDPXML ;SLC/KCM - XML Array Utilities ;4/25/12 12:51pm
Source file <EDPXML.m>
Package | Total | Call Graph |
---|---|---|
Emergency Department Integration Software | 1 | $$ESC^EDPX |
M XML Parser | 1 | EN^MXMLPRSE |
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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
TOARR(SRC,DEST,WAITPAST) | ; convert XML in global reference to global/local array
; SRC(n) contains the lines of an XML document ; DEST is return array, DEST(ELE,n,ELE,n....ATTR)= attribute value ; DEST(ELE,n,ELE,n,...0)=element text ; WAITPAST is node to wait for before adding nodes to DEST |
|
STARTEL(ELEMENT,ATTR) | ; start element
|
|
ENDEL(ELEMENT) | ; end element
|
|
CHARS(TXT) | ; character data
|
|
TOXML(SOURCE,XMLDOC) | ; convert array variable to XML document
; SOURCE is array to convert, SOURCE(ELE,n,ELE,n,...,ATTR)=attribuite value ; SOURCE(ELE,n,ELE,n,...,0)=element text ; SOURCE(ELE,n,ELE,n,...,#)=XML ; XMLDOC(n) contains the lines of the output XML document |
|
BLDELEM(REF,ELEMENT) | ; Build an XML element (attributes & value)
|
|
TOXMLG(SOURCE,XMLDOC) | ; convert array variable to XML document
; SOURCE is array to convert, SOURCE(ELE,n,ELE,n,...,ATTR)=attribuite value ; SOURCE(ELE,n,ELE,n,...,0)=element text ; SOURCE(ELE,n,ELE,n,...,#)=XML ; XMLDOC(n) contains the lines of the output XML document |
|
BLDELEMG(REF,ELEMENT) | ; Build an XML element (attributes & value)
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP($J | TOARR+6!*, TOARR+12, TOARR+13! |
Name | Line Occurrences |
---|---|
BLDELEM | TOXML+7, BLDELEM+11 |
BLDELEMG | TOXMLG+7, BLDELEMG+11 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ATTR | STARTEL~, STARTEL+9 |
ATTR( | STARTEL+9 |
ATTRIB | BLDELEM+1~, BLDELEM+3*, BLDELEM+8*, BLDELEM+12, BLDELEMG+1~, BLDELEMG+3*, BLDELEMG+8*, BLDELEMG+12 |
CALLBACK | TOARR+7~, TOARR+12 |
CALLBACK("CHARACTERS" | TOARR+11* |
CALLBACK("ENDELEMENT" | TOARR+10* |
CALLBACK("STARTELEMENT" | TOARR+9* |
CHILDREN | BLDELEM+1~, BLDELEM+3*, BLDELEM+6*, BLDELEM+10*, BLDELEM+12, BLDELEM+13, BLDELEM+14, BLDELEMG+1~, BLDELEMG+3*, BLDELEMG+6* , BLDELEMG+10*, BLDELEMG+12, BLDELEMG+13, BLDELEMG+14 |
CREF | TOARR+7~, STARTEL+10*, CHARS+1, CHARS+2 |
DEST | TOARR~ |
ELEMENT | STARTEL~, STARTEL+1, STARTEL+6, STARTEL+7, ENDEL~, BLDELEM~, BLDELEM+2, BLDELEM+4, BLDELEM+5, BLDELEM+6 , BLDELEM+7, BLDELEM+8, BLDELEM+9, BLDELEM+11, BLDELEM+12, BLDELEM+13, BLDELEM+14, BLDELEMG~, BLDELEMG+2, BLDELEMG+4 , BLDELEMG+5, BLDELEMG+6, BLDELEMG+7, BLDELEMG+8, BLDELEMG+9, BLDELEMG+11, BLDELEMG+12, BLDELEMG+13, BLDELEMG+14 |
I | STARTEL+3~, STARTEL+8* |
LINE | TOXML+5~, TOXML+6*, BLDELEM+3*, BLDELEM+6*, BLDELEM+14*, TOXMLG+5~, TOXMLG+6*, BLDELEMG+3*, BLDELEMG+6*, BLDELEMG+14* |
LLINE | BLDELEM+1~, BLDELEM+3*, BLDELEM+12, BLDELEM+13, BLDELEMG+1~, BLDELEMG+3*, BLDELEMG+12, BLDELEMG+13 |
REF | TOARR+7~, STARTEL+8*, STARTEL+9, STARTEL+10, BLDELEM~, BLDELEM+2, BLDELEM+4, BLDELEM+5, BLDELEM+6, BLDELEM+7 , BLDELEM+8, BLDELEM+9, BLDELEM+11, BLDELEMG~, BLDELEMG+2, BLDELEMG+4, BLDELEMG+5, BLDELEMG+6, BLDELEMG+7, BLDELEMG+8 , BLDELEMG+9, BLDELEMG+11 |
REF( | STARTEL+7*, STARTEL+8 |
SEQ | BLDELEM+1~, BLDELEM+2*, BLDELEM+4, BLDELEM+5, BLDELEM+6, BLDELEM+7, BLDELEM+8, BLDELEM+9, BLDELEM+11, BLDELEMG+1~ , BLDELEMG+2*, BLDELEMG+4, BLDELEMG+5, BLDELEMG+6, BLDELEMG+7, BLDELEMG+8, BLDELEMG+9, BLDELEMG+11 |
SOURCE | TOXML~, TOXMLG~, TOXMLG+7 |
SOURCE( | TOXML+7 |
SRC | TOARR~, TOARR+6 |
STACK | TOARR+7~, TOARR+8*, STARTEL+5*, STARTEL+6, STARTEL+7, STARTEL+8, ENDEL+2* |
STACK( | STARTEL+5!, STARTEL+6*, STARTEL+7 |
SUB | BLDELEM+1~, BLDELEM+4*, BLDELEM+5, BLDELEM+6, BLDELEM+7, BLDELEM+8, BLDELEM+9, BLDELEM+11, BLDELEMG+1~, BLDELEMG+4* , BLDELEMG+5, BLDELEMG+6, BLDELEMG+7, BLDELEMG+8, BLDELEMG+9, BLDELEMG+11 |
TOP | TOXML+5~, TOXML+7*, TOXMLG+5~, TOXMLG+7* |
TXT | CHARS~, CHARS+1, CHARS+2 |
VALUE | BLDELEM+1~, BLDELEM+3*, BLDELEM+7*, BLDELEM+12, BLDELEM+13, BLDELEMG+1~, BLDELEMG+3*, BLDELEMG+7*, BLDELEMG+12, BLDELEMG+13 |
WAITING | TOARR+7~, TOARR+8*, STARTEL+1*, STARTEL+2, ENDEL+1, CHARS+1 |
WAITPAST | TOARR~, TOARR+8, STARTEL+1 |
X | STARTEL+3~, STARTEL+9* |
XMLDOC | TOXML~, TOXMLG~, BLDELEMG+6, BLDELEMG+12, BLDELEMG+13, BLDELEMG+14 |
XMLDOC( | BLDELEM+6*, BLDELEM+12*, BLDELEM+13*, BLDELEM+14* |