Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CURSORTOXML explanation
Message
From
04/06/2008 05:40:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01321248
Message ID:
01321523
Views:
16
>In our application, we have what I call specialty documents that need to be created and retained. To simplify, we just have a table with a fkey to the document type and a memo field that stores the XML for the document data.
>
>We also transfer information from one site to another by means of passing XML's of created records. So in this case we are creating an XML of a record which has a memo field containing an XML. Originally I was using the default OutPutFormat (1 elements) but when one tries to reverse the XML that contains an XML it bombs out. If I change the OutPutFormat to (3 raw) it works.
>
>I do not have a good understanding on what and why the differences of the OutPutFormats for XML.
>
>1- Elements      (default) Element-centric XML
>2- Attributes     Attribute-centric XML
>3- Raw            Generic, attribute-centric XML
>
>Could anyone give me a better idea of how each of these should be used?
>
>Thanks in advance.
CURSORTOXML('myCursorContainingXMLMemos','varXML',1,8,0,"1")
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform