Parse this as a Document and use getElementsByTagName("ADDRESS")
method to get nodelist.

-Ranjan

On 5/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  
> Hi There, 
> I have the following xml and I need to access the ADDRESS NodeList, whats
> the best way & quiciest way of doing this? 
>   
> <?xml version="1.0" encoding="utf-8" ?> 
>   <string xmlns="urn:messaging"><?xml version="1.0" encoding="utf-8"?>
>    <MESSAGE_RESPONSE xmlns="urn:response-schema">
>     <REFERENCE_NO>71</REFERENCE_NO>
>     <GET_ADDRESSES>
>      <ADDRESS>
>            <ADDRESS_LINE_1>20 FRITH ROAD</ADDRESS_LINE_1>
>            <TOWN>CROYDON</TOWN>
>      </ADDRESS>
>      <ADDRESS>
>            <ADDRESS_LINE_1>21 FRITH ROAD</ADDRESS_LINE_1>
>             <TOWN>CROYDON</TOWN>
>    </ADDRESS>
>   </GET_ADDRESSES>
>  </MESSAGE_RESPONSE>
> </string> 
>      
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to