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

Combined XML Thing



   Ok...a lame subject line...I think it's called a complex value.
   Anyway, I'm using the fine eXpat product that's part of HTTPAPI, and
   I'm running into a problem. I can handle a simple value, like:
   <currency>USD</currency>.
   When I use the CHARDATA1 sample, it returns:
   currency
   Char: USD
   Which is what I expect. But when it encounters this:
   <partyIdentifier partyIdentifierCode="account"
   partyIdentifierQualifierCode="receiverAssigned"/>
   it returns:
    partyIdentifier partyIdentifierCode="account"
   partyIdentifierQualifierCode="receiverAssigned"
   And what I would like is:
    partyIdentifier
     partyIdentifierCode
     Char: account
     partyIdentifierQualifierCode
     Char: receiverAssigned
   Obviously I don't care about the Char:, I just want to be able to
   identify the subfields (?) of the XML value. How can I do that with
   eXpat, or do I parse that on my own?
   Thanks!
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------