Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursortoxml()
Message
From
19/02/2004 13:57:29
 
 
To
18/02/2004 06:58:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00878147
Message ID:
00878859
Views:
18
Hi,
Any chance of getting a copy so I can see if it will work for me?

Andy


>Hello Andy.
>
>I have been playing with cursortoxlm().
>Is there a way to break out the one in the one to many
>using this or any other function in foxpro 8.0

>
>In Chapter 17 of MegaFox: 1002 Things You Wanted to Know About Extending VFP I have a data-driven class that does this:
>
>How do I data-drive the production of XML?( Example: GenerateXml.scx and ExportXML.prg::ExportXML )
>
>As noted above, one of the limitations to using the XMLTOCURSOR() function is that it cannot be used to represent complex relationships between multiple cursors in a single document. Another problem is that when the structure of a cursor changes, so does the generated XML. Fortunately, since we are using Visual FoxPro, it is possible to create a data-driven class that gives us the flexibility we require. However, you should be aware that our sample classes do not account for every single type of node that could be contained in an XML document, nor do they handle DTDs or Schemas. They are intended to show how an XML handling class can be constructed to meet your specific needs.
>
>We designed our metadata to handle the creation of XML from specified cursors as well as the creation of these cursors from an XML document. This metadata is contained in two separate tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform