Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get data from XML
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01117432
Message ID:
01119047
Views:
13
How I can create XML schema?

>The XmlAdapter requires XML schema in order to create XmlTables.
>
>>
>>I'm newbie in XML, so sorry for dump question...
>>
>>From web services I'm getting such XML:
>
>><GetProductByNumberAsResult xmlns="http://tempuri.org/">
>>	<ROWSET xmlns="">
>>		<MDS id="20" name="Information about codes">
>>			<ROW num="1">
>>				<CODE>361220221</CODE>
>>				<NAME>Joch Smith</NAME>
>>				<CITY>New York</CITY>
>>				<AMOUNT>1000,00</AMOUNT>
>>			</ROW>
>>			<ROW num="2">
>>				<CODE>361220221</CODE>
>>				<NAME>Thomas Sauer</NAME>
>>				<CITY>London</CITY>
>>				<AMOUNT>50,00</AMOUNT>
>>			</ROW>
>>			<STATISTICS num="1">
>>				<ONE>9</ONE>
>>				<THREE>10</THREE>
>>				<SIX>10</SIX>
>>			</STATISTICS>
>>		</MDS>
>></ROWSET>
>></GetProductByNumberAsResult>
>
>>How retrieve well formated data (preferable Cursors) from such XML?
>>If I'm trying to use XMLAdapter.LoadXML, but XMLAdapter.Tables Collection is empty... :(
Giedrius
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform