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

RE: Reading XML attribute



Musthafa.

Does example 15 help?

...
...
count = 1;                                 
dow attrs(count) <> *NULL;                 
   attrname = %str(attrs(count));          
   count = count + 1;                      
   attrval = %str(attrs(count));           
   count = count + 1;                      
   if (attrname = 'version');              
      PrintLine = 'RSS version ' + attrval;
      except;                              
   endif;                                  
enddo;                                     
...
...

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mohamed
Musthafa Safarulla
Sent: Friday, December 04, 2009 5:05 PM
To: HTTPAPI and FTPAPI Projects
Subject: Reading XML attribute

Hi,

How can i read an XML attribute using HTTPAPI. None of the provided
examples
have anything which looks for an attribute value. Please help.

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