Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML Adapter and xsd file
Message
From
30/08/2004 20:29:32
 
 
To
30/08/2004 16:32:26
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00937230
Message ID:
00937871
Views:
19
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform