Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem building XML with TEXT/ENDTEXT
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01015868
Message ID:
01015883
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>I'm trying to build a simple XML string in a variable using TEXT ... ENDTEXT. I'm doing the following:
>
>(NOTE: I had to replace < and > with [ and ] in order to post this message so just replace [ and ] with < and > in the example.)
>
>TEXT TO lcXML TEXTMERGE NOSHOW
>[?xml version="1.0"?]
>...
>   [se:Body]
>      [[[ALLTRIM(this.txtFunction.Value)]]]
>ENDTEXT
>
>
>However, because I'm trying to embed the Value of my txtFunction control in between XML delimters Fox gets confused with the [[[. Is there any way to get around that? I guess my basic question is, is there a way to embed an evaluation using delimiters within the literal text delimters for XML?
>
>Thanks for your help!
>
>Rodd


Check out the SET TEXTMERGE DELIMITERS command.

--Brad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform