Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form class to edit XML
Message
 
To
13/09/2006 11:39:20
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153373
Message ID:
01153929
Views:
18
Eh, why would you want to do this exactly? XML is data just like a cursor is data so while you can look at the data as text, really it's not meant to be used as an editable component.

As Sergey says the bes thing to do if the XML conforms to a CursorToXml or XMLAdapter schema is to dump to cursor, edit then save back, but this one hell of a roundabout way to do it. You can read the data with DOM and then write it back with the same DOM.

+++ Rick ---


>Greetings,
>
>I have memo field that is populated with XML data with dozens of elements. What I'd like is an easy way to create a form to edit this data and then push it back into the memo field. This data was originally created from an Cursortoxml command so it is possible that I could get a schema generated.
>
>Does anyone know of a class or a 'best practices' approach on how to edit XML data without a lot of excessive coding?
>
>Thanks in advance!!!
>
>Greg
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform