PutXmlRcd (xml_document name: xml string)
Xml_document = Constant or alphanumeric field (30A)
Xml String = Encoded XML string (32.000A)
Return type:
Error indicator
Description:
PutXmlRcd writes the XML encoded string as an record in a xml-document with the name of parameter one. This is a primary function for building a xml string.
All kinds of functions are allowed as the xml-string, and this is also the normal use of this function
Example:
/free
PutXmlRcd(‘subfile001’:''
+XmlA(‘customer’:name1)
+XmlA(‘Street’:adress1)
+XmlN(‘Streetno:str_number)
)
/end-free
Notes and Restrictions:
The name of the xml document are restricted (see Rules)