function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mentulamentula 

xml parser

Hi All,

 

 

Can any one help me parse these XML string .......I want to display list of names in the XML string the response string is

 

 

 

 

<?xml version="1.0"?>
<yesws:listOfLists xmlns:yesws="https://services.yesmail.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://services.yesmail.com docs/xsd/list.xsd">
    <yesws:listDetails> 
        <yesws:URI>https://services.yesmail.com/enterprise/lists/LISTLOADLIST/CSE_LISTLOAD_API_TEST</yesws:URI>
        <yesws:id>1</yesws:id>
        <yesws:name>CSE_LISTLOAD_API_TEST</yesws:name>
        <yesws:type>LISTLOADLIST</yesws:type>
        <yesws:subtype></yesws:subtype>
    </yesws:listDetails>
    <yesws:listDetails> 
        <yesws:URI>https://services.yesmail.com/enterprise/lists/LISTLOADLIST/MyCampaign</yesws:URI>
        <yesws:id>4</yesws:id>
        <yesws:name>MyCampaign</yesws:name>
        <yesws:type>LISTLOADLIST</yesws:type>
        <yesws:subtype></yesws:subtype>
    </yesws:listDetails>
    <yesws:listDetails> 
        <yesws:URI>https://services.yesmail.com/enterprise/lists/LISTLOADLIST/dsds_L4</yesws:URI>
        <yesws:id>5</yesws:id>
        <yesws:name>dsds_L4</yesws:name>
        <yesws:type>LISTLOADLIST</yesws:type>
        <yesws:subtype></yesws:subtype>
    </yesws:listDetails>
    <yesws:listDetails> 
        <yesws:URI>https://services.yesmail.com/enterprise/lists/LISTLOADLIST/kw_test</yesws:URI>
        <yesws:id>3</yesws:id>
        <yesws:name>kw_test</yesws:name>
        <yesws:type>LISTLOADLIST</yesws:type>
        <yesws:subtype></yesws:subtype>
    </yesws:listDetails>
    <yesws:listDetails> 
        <yesws:URI>https://services.yesmail.com/enterprise/lists/LISTLOADLIST/listload1</yesws:URI>
        <yesws:id>2</yesws:id>
        <yesws:name>listload1</yesws:name>
        <yesws:type>LISTLOADLIST</yesws:type>
        <yesws:subtype></yesws:subtype>
    </yesws:listDetails>
</yesws:listOfLists>


thanks in advance ...