Discussion:
XML Schemas in FoxPro
(too old to reply)
Joriveek
2005-10-13 09:06:00 UTC
Permalink
Hi,

I have few questions on how best I can use XML in FoxPro.

1. CursorToXML(); My understanding with this is that CursorToXML() produces
.xml and .xsd.
My question is that if I get schema from my client, will the xml produced
with the above API reflects the schema provided?

2. What is the role of external schemas (provided or given) in the
XMLtoCursor() function?

Thanks
J.
Anders
2005-10-13 18:27:12 UTC
Permalink
Check out XMLAdapter as well.

-Anders
Post by Joriveek
Hi,
I have few questions on how best I can use XML in FoxPro.
1. CursorToXML(); My understanding with this is that CursorToXML()
produces .xml and .xsd.
My question is that if I get schema from my client, will the xml produced
with the above API reflects the schema provided?
2. What is the role of external schemas (provided or given) in the
XMLtoCursor() function?
Thanks
J.
Olaf Doschke
2005-10-13 11:10:57 UTC
Permalink
Hi Joriveek,

CursorToXML will not take a given/provided schema.
It optionally generates a schema (xsd) or inline schema,
but it can't consume external schemes.

So it's a one way ticket.

In general, if you want to parse XML not generated by
CursorToXML, you need the more general functionalities
for parsing XMLAdapter provides or even use the
MSXML DOM parser.

Take a look at:
http://fox.wikis.com/wc.dll?Wiki~PracticalXmlPart2~SoftwareEng

Bye, Olaf.

Loading...