N
nen
Guest
**HI..I am new to xml ...plz help me to read this xml file and write to temp-table using progress 4gl
**MY xml file is shown below...
<bookstore>
<bookone>
<title>Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
<price>30.00</price>
</bookone>
<cars>
<model>
<plate>12345</plate>
<purchase>04/03/2011</purchase>
<insurence>yes</insurence>
</model>
<model>
<plate>56789</plate>
<purchase>04/03/2011</purchase>
<insurence>no</insurence>
</model>
</cars>
<booktwo>
<title>XQuery Kick Start</title>
<author>James McGovern</author>
<author>Per Bothner</author>
<author>Kurt Cagle</author>
<author>James Linn</author>
<author>Vaidyanathan Nagarajan</author>
<year>2003</year>
<price>49.99</price>
</booktwo>
</bookstore>
I have tried a code with repeat statement but doesn't work:
Continue reading...
**MY xml file is shown below...
<bookstore>
<bookone>
<title>Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
<price>30.00</price>
</bookone>
<cars>
<model>
<plate>12345</plate>
<purchase>04/03/2011</purchase>
<insurence>yes</insurence>
</model>
<model>
<plate>56789</plate>
<purchase>04/03/2011</purchase>
<insurence>no</insurence>
</model>
</cars>
<booktwo>
<title>XQuery Kick Start</title>
<author>James McGovern</author>
<author>Per Bothner</author>
<author>Kurt Cagle</author>
<author>James Linn</author>
<author>Vaidyanathan Nagarajan</author>
<year>2003</year>
<price>49.99</price>
</booktwo>
</bookstore>
I have tried a code with repeat statement but doesn't work:
Continue reading...