Re: Read a XML document in COBOL
- From: "Pete Dashwood" <dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 25 Nov 2006 12:54:08 +1300
<olivierdeman@xxxxxxxxx> wrote in message
news:1164365982.752040.128040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hey,
I'm trying to read an XML document (see at the end of the page) in
COBOL (I'm using PerCobol). First I tried to read it doing this:
perform until einde = 1
display "|||"lijn"|||"
UNSTRING lijn DELIMITED BY '>' INTO
root
END-UNSTRING
MOVE root(2:2) TO rootTemp
UNSTRING root DELIMITED BY '<' INTO
vuller,element
END-UNSTRING
But thats a lot of work and its hard, now I heard that you can do it a
lot easier??? But how? I didn't find any informatie. So if you can help
me reading this document I thank you!!!
If you are running on a Microsoft platform and think that re-inventing the
wheel or re-discovering fire is a waste of your time, take a look at this...
http://www.chilkatsoft.com/ChilkatXml.asp
It's free, and is marginally better (in my opinion) than the Microsoft
component that is already on your machine.
Pete.
<snipped interesting Dutch XML file>
.
- References:
- Read a XML document in COBOL
- From: olivierdeman
- Read a XML document in COBOL
- Prev by Date: Re: [OT] Happy Thanksgiving!
- Next by Date: Re: Read a XML document in COBOL
- Previous by thread: Re: Read a XML document in COBOL
- Next by thread: AcuODBC
- Index(es):
Relevant Pages
|