Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML Adapter and xsd file
Message
De
30/08/2004 20:29:32
 
 
À
30/08/2004 16:32:26
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00937230
Message ID:
00937871
Vues:
18
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform