Difference between revisions of "XML SCATTER()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{YLM to do}}
 
 
 
==Purpose==
 
==Purpose==
 
+
Return the contents of a record formatted as XML
  
  
 
==Syntax==
 
==Syntax==
XML_SCATTER(<expN>)
+
XML_SCATTER([<expN>|<expC>])
  
  
 
==See Also==
 
==See Also==
[[MQCLOSE()]], [[MQCREATE()]], [[MQCURMSGS()]], [[MQOPEN()]],  [[MQSEND()]], [[MQRECEIVE()]], [[XML_DECODE()]], [[XML_ENCODE()]], [[XML_GATHER()]]
+
[[MQCLOSE()]], [[MQCREATE()]], [[MQCURMSGS()]], [[MQOPEN()]],  [[MQSEND()]], [[MQRECEIVE()]], [[MQUNLINK()]], [[XML]], [[XML_DECODE()]], [[XML_ENCODE()]], [[XML_GATHER()]]
  
  
 
==Description==
 
==Description==
The XML_SCATTER() function  
+
The XML_SCATTER() function returns a character string containing the contents of the current record in the current table formatted as XML.  If the optional workarea number <expN> or alias name <expC> is specified, the function will operate on the table referenced.
  
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
 
+
open database southwind
 +
use shippers
 +
cVar = xml_scatter()
 
</code>
 
</code>
  

Latest revision as of 10:11, 5 July 2011

Purpose

Return the contents of a record formatted as XML


Syntax

XML_SCATTER([<expN>|<expC>])


See Also

MQCLOSE(), MQCREATE(), MQCURMSGS(), MQOPEN(), MQSEND(), MQRECEIVE(), MQUNLINK(), XML, XML_DECODE(), XML_ENCODE(), XML_GATHER()


Description

The XML_SCATTER() function returns a character string containing the contents of the current record in the current table formatted as XML. If the optional workarea number <expN> or alias name <expC> is specified, the function will operate on the table referenced.


Example

open database southwind
use shippers
cVar = xml_scatter()


Products

Recital, Recital Server