I have xml in variable and now i need parse it.
xml is something like this:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetVenueListResponse xmlns="http://www.eventinventory.com/webservices/">
<GetVenueListResult>
<ROOT xmlns="">
<METHODINFO>
<channelName>Basic View</channelName>
<methodName>GetVenueList</methodName>
<parameters>APPCLIENT_ID=2220&EVENT_ID=6&STARTDATE=&INCDAYS=</parameters>
<processTime type="milliseconds">4.2844</processTime>
</METHODINFO>
<DATA xmlns:sql="urn:schemas-microsoft-com:xml-sql">
<row THISID="945" THISNAME="Lowell Memorial Auditorium" ST="MA" />
<row THISID="1598" THISNAME="Stage Theatre" ST="CO" />
<row THISID="2963" THISNAME="Walnut Street Theatre" ST="PA" />
</DATA>
</ROOT>
</GetVenueListResult>
</GetVenueListResponse>
</soap:Body>
</soap:Envelope>Please tell me how can i do using nusoap, I am using nusoap.
thanks