Difference between revisions of "XML ENCODE()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 16: Line 16:
 
The XML_ENCODE() function is used to encode an object and return a character string containing XML.  The character string returned can be used with the messaging functions to pass objects between processes.  The <object> is the object to be encoded.  The optional character expression <expC1> is the XML root tag name.  The optional character expression <expC2> is the XML row tag name.
 
The XML_ENCODE() function is used to encode an object and return a character string containing XML.  The character string returned can be used with the messaging functions to pass objects between processes.  The <object> is the object to be encoded.  The optional character expression <expC1> is the XML root tag name.  The optional character expression <expC2> is the XML row tag name.
  
The XML_DECODE() function returns the passed XML character string decoded back into an object.
+
The XML_DECODE() function is used to return the passed XML character string decoded back into an object.
  
  

Revision as of 11:26, 27 November 2009

Template:YLM to do

Purpose

Encode an object as a character string containing XML for use with the messaging functions to pass objects between processes


Syntax

XML_ENCODE(<object> [, <expC1>, <expC2>])


See Also

Messaging Functions, MQCLOSE(), MQCREATE(), MQCURMSGS(), MQOPEN(), MQSEND(), MQRECEIVE(), XML_DECODE(), XML_GATHER(), XML_SCATTER()


Description

The XML_ENCODE() function is used to encode an object and return a character string containing XML. The character string returned can be used with the messaging functions to pass objects between processes. The <object> is the object to be encoded. The optional character expression <expC1> is the XML root tag name. The optional character expression <expC2> is the XML row tag name.

The XML_DECODE() function is used to return the passed XML character string decoded back into an object.


Example

 


Products

Recital, Recital Server