Changeset 727 for ccr


Ignore:
Timestamp:
Mar 21, 2010, 6:21:30 PM (15 years ago)
Author:
George Lilly
Message:

update to template compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/C0CMXP.m

    r718 r727  
    9999 . D INITXPF("FARY") ;IF FILE ARRAY NOT PASSED, INITIALIZE
    100100 D SETXPF(FARY) ;SET FILE VARIABLES
     101 I +TEMPID=0 S TEMPID=$$RESTID^C0CSOAP(TEMPID,FARY) ;RESOLVE TEMPLATE NAME
    101102 I $$GET1^DIQ(C0CXPF,TEMPID_",",C0CXTFLD,,OUTXML)'=OUTXML D  Q  ;
    102103 . W "ERROR RETRIEVING TEMPLATE",!
     
    143144 . K ZD ;FOR DATA
    144145 . D DATA^C0CMXML("ZD",ZI) ;SEE IF THERE IS DATA FOR THIS NODE
    145  . I $D(ZD(1)) D  ; IF YES
     146 . ;I $D(ZD(1)) D  ; IF YES
     147 . I $$FIRST^C0CMXML(ZI)=0 D  ; IF THERE ARE NO CHILDREN TO THIS NODE
    146148 . . ;I ZI<3 B  ;W !,ZD(1)
    147149 . . K @C0CDOM@(ZI,"T") ; KILL THE DATA
Note: See TracChangeset for help on using the changeset viewer.