Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional STRTRAN
Message
 
 
À
09/02/2015 13:13:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01615018
Message ID:
01615033
Vues:
53
One way is to wrap your string into CDATA tag. Other is to use pre-defined entity references in XML
&lt; 	< 	less than
&gt; 	> 	greater than
&amp; 	& 	ampersand 
&apos; 	' 	apostrophe
&quot; 	" 	quotation mark
>Thanks, Sergei. Can you direct me to some documentation on how to preserve those illegal characters?
>
>>There are ways to represent illegal characters in XML. If you don't care about preserving them, use CHRTRAN
>>
>>lcIllegalCharacters = "..."
>>lcReplacemets = REPLICATE("*", LEN(lcIllegalCharacters)) 
>>... CHRTRAN(cField, lcIllegalCharacters, lcReplacemets)
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform