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

Re: XML parsing.



   Thought so, but was making sure, I am right.
   Thanks Allot,
   Musthafa

   On Mon, Jan 11, 2010 at 9:29 AM, Mike Krebs
   <[1]mkrebs@xxxxxxxxxxxxxxxxxx> wrote:

     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: [2]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:[3]ftpapi-
   > [4]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:
     [5]http://www.scottklement.com/mailman/listinfo/ftpapi
     -------------------------------------------------------------------
     ----

   --
   Thanks,
   Musthafa

References

   1. mailto:mkrebs@xxxxxxxxxxxxxxxxxx
   2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   3. mailto:ftpapi-
   4. mailto:bounces@xxxxxxxxxxxxxxxxxxxxxx
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------