XML SCATTER()

From Lianjapedia
Revision as of 08:36, 29 February 2016 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Return the contents of a record formatted as XML

Syntax

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

See Also

MQCLOSE(), MQCREATE(), MQCURMSGS(), MQOPEN(), MQSEND(), MQRECEIVE(), MQUNLINK(), PRINT XML(), XML, XML_DECODE(), XML_ENCODE(), XML_GATHER(), XQUERY(), XQUERY ATTRIBUTES(), XQUERY_CLOSE(), XQUERY_COUNT(), XQUERY_DECODE(), XQUERY_FILE(), XQUERY_FIND(), XQUERY_NODE(), XQUERY_OPEN(), XQUERY_SELECT()

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()