Re: Read a XML document in COBOL
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 24 Nov 2006 12:52:51 -0800
Richard wrote:
LINKAGE SECTION.
COPY "xmlparse.ws". *> \az\include\xmlparse.ws
PROCEDURE DIVISION USING XML-Interface
XML-Document
.
01 XML-Interface.
* 05 XML-Occurs PIC 9(9) VALUE 20000.
05 XML-Occurs PIC 9(9).
05 XML-Length PIC 9(9).
05 XML-Reserved.
10 Save-Index PIC 9(9).
10 Char-Ptr PIC 9(9).
10 State PIC 99.
10 Save-Elem-Name PIC X(50).
10 FILLER PIC X(30).
05 XML-Parsed-Area.
10 XML-Return-Code PIC 9.
10 XML-Element-Name PIC X(50).
10 XML-Attribute-Name PIC X(50).
10 XML-Data-Value PIC X(1000).
01 XML-Document.
05 XML-Document-X PIC X OCCURS 20000.
*
================================================================
* end of source code
* ================================================================
.
- References:
- Read a XML document in COBOL
- From: olivierdeman
- Re: Read a XML document in COBOL
- From: Richard
- Read a XML document in COBOL
- Prev by Date: Re: Read a XML document in COBOL
- Next by Date: Re: Read a XML document in COBOL
- Previous by thread: Re: Read a XML document in COBOL
- Next by thread: Re: Read a XML document in COBOL
- Index(es):