Difference between revisions of "XML GATHER()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Replace fields in the current record with values from a character string containing XML formatted data
 
Replace fields in the current record with values from a character string containing XML formatted data
 
  
 
==Syntax==
 
==Syntax==
 
XML_GATHER(<expC>)
 
XML_GATHER(<expC>)
 
  
 
==See Also==
 
==See Also==
[[MQCLOSE()]], [[MQCREATE()]], [[MQCURMSGS()]], [[MQOPEN()]],  [[MQSEND()]], [[MQRECEIVE()]], [[MQUNLINK()]], [[XML]], [[XML_DECODE()]], [[XML_ENCODE()]], [[XML_SCATTER()]]
+
[[MQCLOSE()]], [[MQCREATE()]], [[MQCURMSGS()]], [[MQOPEN()]],  [[MQSEND()]], [[MQRECEIVE()]], [[MQUNLINK()]], [[PRINT XML()]], [[XML]], [[XML_DECODE()]], [[XML_DECODE_FILE()]], [[XML_ENCODE()]], [[XML_ENCODE()]], [[XML_SCATTER()]], [[XQUERY()]], [[XQUERY ATTRIBUTES()]], [[XQUERY_CLOSE()]], [[XQUERY_COUNT()]], [[XQUERY_DECODE()]], [[XQUERY_FILE()]], [[XQUERY_FIND()]], [[XQUERY_NODE()]], [[XQUERY_OPEN()]], [[XQUERY_SELECT()]]
 
+
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 26: Line 22:
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:XML]]
 
[[Category:XML]]
[[Category:XML Functions]]
+
[[Category:Cursor Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 08:35, 29 February 2016

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(), PRINT XML(), XML, XML_DECODE(), XML_DECODE_FILE(), XML_ENCODE(), XML_ENCODE(), XML_SCATTER(), XQUERY(), XQUERY ATTRIBUTES(), XQUERY_CLOSE(), XQUERY_COUNT(), XQUERY_DECODE(), XQUERY_FILE(), XQUERY_FIND(), XQUERY_NODE(), XQUERY_OPEN(), XQUERY_SELECT()

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)