[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xml-sax issue



I tried using the xml-into as suggested by John Paris and I get nothing in
the data structure.

Here is how I have it defined:

DResults          ds                  qualified
D Claim                               LikeDs(claim_t)

D Claim_t         ds                  qualified
D                                     based(template)
D Claim                          9a   Varying
D Amount                         9a   Varying
D Group                          5a   Varying
D Dxg                            3a   Varying
D MEANLOS2                       2a   Varying

I have the options variable set as:

  $options = 'doc=string +
              path=MMMProcess/Results +
              case=any +
              allowextra=yes +
              allowmissing=yes';

and then the call:

    xml-into Results %xml(xml: $options);


when I check the values in debug after caling the xml-into all I see is
blanks or asteriks.

Here is a  visual of the xml as its coming in:

        ....5...10...15...20...25...30...35...40...45...50...55...60
   1   '<MMMProcess><Results><Claim>8104550</Claim><Amount>1995.83</'
  61   'Amount><Grouper>7320</Grouper><Dxg>53</Dxg><MEANLOS2>2</MEAN'
 121   'LOS2><Error_Code>0</Error_Code></Results></MMMProcess>      '


Am I missing something?

Dutch


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------