Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem building XML with TEXT/ENDTEXT
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01015868
Message ID:
01015953
Views:
21
Brad,

Thanks tons! I guess I should've looked a bit harder at the 'See Also' portion of the help! ;)

Rodd

>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform