ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

XML parsing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: XML parsing

    Hi

    I am tired and its not working. Do you have any XMl-SAX example or sample you wrote? It would be really helpful.

    Comment


    • #17
      Re: XML parsing

      Hi Bob,
      Hi

      I am using XML-INTO anyhow. But one problem is is under a tag there are multiple sub tags, will %XML automatically take care to parse?

      Eg.


      Nila
      Nila


      Bob
      Cozzi



      Please let me know the DS automatically parse two records or I have to give any options?

      Comment


      • #18
        Re: XML parsing

        Hi Bob,

        THE xml lil different:



        2008-01-01

        Nila
        Nila


        Bob
        Cozzi




        In DS:
        DPOS Ds Qualified
        Dtransaction LikeDS(InvTrans)
        D invtrans qualified
        Ddate 10a
        Name LikeDS(nameds) dim(99)
        DNameds qualified
        Dfirst 10
        DLast 10

        D POsproc PR 10I 0
        D Ok 1N
        D POSInfo LikeDs(POS) dim(1) Const
        D NumRecs 10I 0 Value

        C for i = 1 to numrecs


        Now how to populate in file of two records with different
        names?

        Comment


        • #19
          Re: XML parsing

          Hi
          I have XMl like:



          2008-02-29

          111


          222



          2008-02-28

          333


          444




          So I have one date and multiple trans id. How to parse corresponding trans id for a partucular date? I tried, but gettign all trans id for each date. please help

          Comment

          Working...
          X