Processing XML from a URL without specifying a xml file?
I enter the follow url in my browser exactly as shown here:
http://srv-two-dev/raw/ and I receive the following data:
<raws>
<raw id="*" >
<rpn></rpn>
<desc></desc>
<datecreated></datecreated>
<status></status>
<mfgven></mfgven>
<mfgvenpt></mfgvenpt>
<mfgvendesc></mfgvendesc>
<distven></distven>
<distvenpt></distvenpt>
<category ></category>
</raw>
<raw id="*1234" >
<rpn>2 Mil Plastic</rpn>
<desc></desc>
<datecreated></datecreated>
<status>STOCK</status>
<mfgven></mfgven>
<mfgvenpt></mfgvenpt>
<mfgvendesc></mfgvendesc>
<distven></distven>
<distvenpt></distvenpt>
<category>SUPPLY</category>
</raw>
</raws>
Notice that it's not well formed XML in
terms of having a proper type defined:
<?xml version="1.0" encoding="ISO-8859-1"?>
How can I take this data and parse it using jquery?
I just want to dress it up in colund make it readable.
What is the best way to do this. I've been unable to
find a method to load it loadXMLDom and ActiveXObject type calls.
Thanks in advance,
Walt