support for eRx
This commit is contained in:
parent
d897c32cfa
commit
a701e535cd
10
p/C0CMXP.m
10
p/C0CMXP.m
|
@ -78,6 +78,16 @@ GETXML(OUTXML,TEMPID,FARY) ;GET THE XML FROM TEMPLATE TEMPID
|
|||
. W "ERROR RETRIEVING TEMPLATE",!
|
||||
Q
|
||||
;
|
||||
GETTEMP(OUTXML,TEMPID,FARY) ;GET THE TEMPLATE XML FROM TEMPLATE TEMPID
|
||||
;
|
||||
I '$D(FARY) D ;
|
||||
. S FARY="FARY" ; FILE ARRAY
|
||||
. D INITXPF("FARY") ;IF FILE ARRAY NOT PASSED, INITIALIZE
|
||||
D SETXPF(FARY) ;SET FILE VARIABLES
|
||||
I $$GET1^DIQ(C0CXPF,TEMPID_",",C0CXTFLD,,OUTXML)'=OUTXML D Q ;
|
||||
. W "ERROR RETRIEVING TEMPLATE",!
|
||||
Q
|
||||
;
|
||||
COMPILE(INTID,UFARY) ; COMPILES AN XML TEMPLATE AND GENERATES XPATH BINDINGS
|
||||
; UFARY IF SPECIFIED WILL REDIRECT THE XML FILE TO USE
|
||||
; INTID IS THE IEN OF THE RECORD TO USE IN THE XML FILE
|
||||
|
|
Loading…
Reference in New Issue