Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorToXML No Encoding Wanted
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00604835
Message ID:
00605019
Vues:
27
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform