compiler for xml templates
This commit is contained in:
parent
e4d0f46c7c
commit
d897c32cfa
|
@ -116,7 +116,7 @@ MKTPLATE(OUTT,OUTIDX,INXML,REDUX) ;MAKE A TEMPLATE FROM INXML, RETURNED IN OUTT
|
||||||
. K ZD ;FOR DATA
|
. K ZD ;FOR DATA
|
||||||
. D DATA^C0CMXML("ZD",ZI) ;SEE IF THERE IS DATA FOR THIS NODE
|
. D DATA^C0CMXML("ZD",ZI) ;SEE IF THERE IS DATA FOR THIS NODE
|
||||||
. I $D(ZD(1)) D ; IF YES
|
. I $D(ZD(1)) D ; IF YES
|
||||||
. . I ZI<3 B ;W !,ZD(1)
|
. . ;I ZI<3 B ;W !,ZD(1)
|
||||||
. . K @C0CDOM@(ZI,"T") ; KILL THE DATA
|
. . K @C0CDOM@(ZI,"T") ; KILL THE DATA
|
||||||
. . N ZXPATH
|
. . N ZXPATH
|
||||||
. . S ZXPATH=$G(GIDX2(ZI)) ;FIND AN XPATH FOR THIS NODE
|
. . S ZXPATH=$G(GIDX2(ZI)) ;FIND AN XPATH FOR THIS NODE
|
||||||
|
|
Loading…
Reference in New Issue