Zoomed Image

AMSX Scripting Language - Command : Data.AddXml

Summary

Add an XML data item to the data island using inline XML

Description

Adds an XML data item to the output data island using the XML string provided directly as argument 4. Requires at least 5 arguments; subjectid must be numeric. The bTag flag controls whether field names are tagged (true) or kept as raw database column names (false).

Parameters

ParameterDescription
cmditem key
Argument 0type
Argument 1subjectid (numeric)
Argument 2tablename
Argument 3querystring
Argument 4xml
Argument 5Boolean to signal whether to Tag the fields or keep the original database field names

Syntax


Data.AddXml "item key", "type", "subjectid (numeric)", "tablename", "querystring", "xml", "Boolean to signal whether to Tag the fields or keep the original database field names"

Return to the AMSX Command Reference