update for web servicesq
This commit is contained in:
parent
71818372c3
commit
8ad5d55041
|
@ -238,6 +238,11 @@ INDEX(IZXML,VDX,NOINX) ; parse the XML in IZXML and produce an XPATH index
|
|||
. . . D MKMDX("C0CSTK",.MDX) ; GENERATE THE M INDEX
|
||||
. . . ; W "MDX=",MDX,!
|
||||
. . . I $D(@ZXML@(MDX)) D ; IN THE INDEX, IS A MULTIPLE
|
||||
. . . . ;I '$D(ZDUP(MDX)) S ZDUP(MDX)=2
|
||||
. . . . ;E S ZDUP(MDX)=ZDUP(MDX)+1
|
||||
. . . . ;W "DUP:",MDX,!
|
||||
. . . . ;I '$D(CURVAL) S CURVAL=""
|
||||
. . . . ;I DVDX S @VDX@(MDX_"["_ZDUP(MDX)_"]")=CURVAL
|
||||
. . . . S $P(@ZXML@(MDX),"^",2)=I ; UPDATE LAST LINE NUMBER
|
||||
. . . I '$D(@ZXML@(MDX)) D ; NOT IN THE INDEX, NOT A MULTIPLE
|
||||
. . . . S @ZXML@(MDX)=I_"^"_I ; ADD INDEX ENTRY-FIRST AND LAST
|
||||
|
|
Loading…
Reference in New Issue