Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML No Encoding Wanted
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00604835
Message ID:
00605019
Views:
28
>Probably missing something simple here, but I do not want the encoding specified in my CursorToXML() statement, but since that parameter has a value of 0 and it's the default I don't see a way to not have it. But I don't want it. How to get rid of it so my top line is just
>{?xml version="1.0"?}
>?
>
>Thanks.

Use CursorToXML to send the XML to a variable, use STRTRAN() to strip out what you don't want, then use STRTOFILE to write the string to a file.

Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform