Home > Archive > FoxPro database connector > October 2005 > XML Schemas in FoxPro









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XML Schemas in FoxPro
Joriveek

2005-10-27, 8:34 am

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-27, 8:34 am

Check out XMLAdapter as well.

-Anders

"Joriveek" <nojunk@please.com> skrev i meddelandet
news:dil81o$hmi$1@re
ader01.news.esat.net...
> 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-27, 8:34 am

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~P... t2~SoftwareEng

Bye, Olaf.


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com