This is a migrated thread and some comments may be shown as answers.

Testing with XML data

0 Answers 76 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 17 Mar 2012, 05:46 AM
For testing purposes (and fiddling) having with a string containing XML would be easier.
 
var myXmlData = '
<TABLE>
<STORES>
<store> 1004 </store><CITY> Houston </CITY><STATE> TX </STATE><ZIP> 77065 </ZIP><WIDTH> 100 </WIDTH></STORES>
<STORES>
<store> 1031 </store><CITY> MCALLEN </CITY><STATE> TX </STATE><ZIP> 78503 </ZIP><WIDTH> 100 </WIDTH>
</STORES>
<STORES>
<store> 1043 </store><CITY> Selma </CITY><STATE> TX </STATE><ZIP> 78154 </ZIP><WIDTH> 100 </WIDTH>
</STORES>
<STORES>
<store> 1044 </store><CITY> San Antonio </CITY><STATE> TX </STATE><ZIP> 78230 </ZIP><WIDTH> 100 </WIDTH>
</STORES>
</TABLE>';

Is there a way to coerce DataSource to use myXmlData as the 'read'

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Richard
Top achievements
Rank 1
Share this question
or