Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get data from XML
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01117432
Message ID:
01118332
Vues:
17
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... :(
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform