Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML Adapter and xsd file
Message
De
31/08/2004 10:18:54
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
30/08/2004 20:29:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00937230
Message ID:
00938010
Vues:
21
Thanks Aleksey. Thanks for sticking with me. I was looking for a property not a parameter. It works now.


>Hi James,
>
>You are still not using the cSchemaLocation parameter (this is different from XMLSchemaLocation property).
>
>Thanks,
>Aleksey.
>
>>UPDATE:
>>I tested loading the xml with the xsd file in another directory and it seemed to work fine. Maybe the path is not an issue?
>>
>>Aleksey,
>>
>>Here is the code that just tried. I think it follows your example.
>>
>>
>>LOCAL lcXml, oxml
>>CREATE CURSOR test1 (junk c(10))
>>INSERT INTO test1 (junk) values("junk")
>>INSERT INTO test1 (junk) values("junk1")
>>INSERT INTO test1 (junk) values("junk2")
>>
>>oxml = CREATEOBJECT("xmladapter")
>>oxml.addTableSchema(ALIAS())
>>oxml.XMLSchemaLocation="junk.xsd"
>>oxml.toxml("lcXml")
>>?STRTOFILE(lcXml,"test1.xml")
>>MODIFY FILE test1.xml nowait
>>MODIFY FILE junk.xsd NOWAIT
>>
>>
>>
>>Thanks for your help.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform