Hi Scott, we struggle with parsing an xml file. Can you tell us which sequense the httpapi/expat parser use when parsing this xml (only part of the xml is here). It seems like the element tag is parsed after the family_name and role tags. We use the incoming subroutine only on end tags. How can we parse the element tag before the other tags? Can we use a call back routine for start tags? if (http_parse_xml_stmf( %trim(XmlName) : HTTP_XML_CALC : %paddr(Incoming1) : %paddr(Incoming2) : *null ) < 0 ); <?xml version="1.0" encoding="UTF-8"?> <gluon xmlns:iso3166="http://gluon.nrk.no/countrycodes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://gluon.nrk.no/gluon.xsd" artID="archiveReport_NRK_P1_20080102" priority="3"> <head> <element dataid="P1OP/00000066/000007D8/00000001/00000002/00000079" objecttype="programme" channel="P1" subChannel="OP" fragment="1" reportState="ready"> <family_name person="false">P1</family_name> <role rolelist="SAM">Kringkaster</role> <family_name person="false"></family_name> <role rolelist="SAM">Redaksjon</role> </element> </head> </gluon> Best regards, Magne
<<winmail.dat>>
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------