Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Cursor adaptor to parse XSD schema.
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00952399
Message ID:
00954057
Views:
17
Well it took you long enough:)
Thanks so much much Lisa!

BTW, WHile I have you on the line, what is the purpose of a namespace designation like this:
xsi:schemaLocation="http://www.ABCD.org/xsd/ABCD ABCD.xsd"
ABCD.xsd is local to my java server, but the URL references a remote server.

As a reward, please accept this link!
http://davechase.net/presidential_horror_show.swf

Really thanks - the links are gonna be a big help!

>Terry, yes, there is a DOM object somewhere underlying the XMLAdapter object (not the cursoradapter).
>
> If you create one you will see a SOM property (that is *not* a typo), which may give you what you're looking for (the associated schema cache for an xml document). I am pretty sure that XMLAdapter.SOM is available in VFP 8, IOW not new in VFP 9. Also I'm pretty sure that XMLAdapter exposes IXMLDOMElement in 8.
>
>Depends on what you're trying to do, really, but in many cases there's no real advantage to doing this type of thing through the adapter, if your data isn't cursor-shaped or relational to begin with.
>
>ox = CREATEOBJECT("msxml2.FreeThreadedDOMDocument")
>
>ox.schemas && this is probably what you're looking for
>
>You might want to look at HOW TO: Use the MSXML 4.0 SOM in a Visual Basic Application to Locate Element Declarations in an XSD Schema. And this is a nice article MSXML and the Schema Object Model (SOM).
>
>Have fun,
>
>>L<
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform