[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: XML parsing.
So, incoming sets the value of some variables (pseudo code):
When <Elem1>
Elem1=value
.
.
If <Elem3> = 'take this';
Set flagTHISONE!
If flagTHISONE!
Do something!
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mohamed Musthafa Safarulla
> Sent: Monday, January 11, 2010 8:44 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: XML parsing.
>
> Hello Guys,
>
> I am using http_parse_xml_stmf for parsing an XML file using procedure
> "Incoming".
> In XML I have the same section repeating multiple times and i want the
> values of the elements of that section
> which has a particular value for a particular field. How should i go
> about
> this. Please help with your vast knowledge.
>
> <Section>
> <Elem1>A</Elem1>
> <Elem2>B</Elem2>
> <Elem3>Dont take this</Elem3>
> </Section>
> <Section> <<= I want this
> section
> because the Elem3 has the value "take this"
> <Elem1>C</Elem1>
> <Elem2>D</Elem2>
> <Elem3>take this</Elem3>
> </Section>
>
> --
> Thanks,
> Musthafa
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------