用Ajax读取XML格式的数据

2019-09-14 07:30:10刘景俊

            }catch(exception) 
            { 

            } 
        } 
    } 

</script> 
</head> 
<body> 
    <div> 
        <input type="button" value="return ajax responseXML's value" 
                onclick="startRequest();" /> 
    </div> 
</body> 
</html>
server.xml

<?xml version="1.0" encoding="GB2312" ?> 
<root>
    <info>hello world!</info>
</root>