[Migrated content. Thread originally posted on 07 September 2007]
Below is the XML file that I am parsing. I am performing the following code, but it will not give me the Parent000000 50001-GET-XML-FILE.
000000 CALL "C$XML" USING CXML-PARSE-FILE, PASSED-FILE-ALL.
000000 MOVE RETURN-CODE TO PARSER-HANDLE.
RRRRRR*Get Parent Name
RRRRRR CALL "C$XML" USING CXML-GET-PARENT, PARSER-HANDLE.
RRRRRR MOVE RETURN-CODE TO ELE-1-HANDLE.
RRRRRR CALL "C$XML" USING CXML-GET-DATA,
RRRRRR ELE-1-HANDLE, WS-NOTHING, WS-PARENT.
But nothing is returned in WS-PARENT. After the "C$XML" USING CXML-GET-PARENT, the RETURN-CODE is zero. Why is that giving me a Return Code of zero? I was expecting "EmailInfo" to be returned in WS-PARENT. What am I doing wrong? Or is there something wrong with the XML file?
C:\\temp\\test.pdf
New Mail
RECEIVED
09/06/2007
15:34
Me
You



