Difference between revisions of "XML GATHER()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
Line 26: | Line 26: | ||
[[Category:XML]] | [[Category:XML]] | ||
[[Category:Cursor Functions]] | [[Category:Cursor Functions]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Function Extensions]] |
Revision as of 07:41, 10 December 2012
Contents
Purpose
Replace fields in the current record with values from a character string containing XML formatted data
Syntax
XML_GATHER(<expC>)
See Also
MQCLOSE(), MQCREATE(), MQCURMSGS(), MQOPEN(), MQSEND(), MQRECEIVE(), MQUNLINK(), XML, XML_DECODE(), XML_ENCODE(), XML_SCATTER()
Description
The XML_GATHER() function replaces fields in the current record of the current table with values from the specified character string <expC>. The <expC> string must contain valid XML formatted data. XML_GATHER() returns .T. (true) if the replacement succeeded and .F. (false) if not.
Example
open database southwind use shippers cVar = xml_scatter() copy structure to temp use temp append blank xml_gather(cVar)