1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

how to read xml file with multiple elements and write to temp-table using progress 4gl dom?

Discussão em 'StackOverflow' iniciado por fdantas, Dezembro 31, 2019.

  1. fdantas

    fdantas Administrator Moderador

    **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>
    <date>02/05/2009</date>
    </booktwo>


    </bookstore>


    I have tried a code with repeat statement but doesn't work:

    Continue reading...

Compartilhe esta Página