saveXML

Saves the XML structure of the current node class to a string.

Syntax

Reference_Syntax.saveXML( [ "pretty" ] )

Parameters

pretty

(Optional)

Outputs the XML string in an easier to read format.

Returns

A valid string representing the XML fragment of the current object.

Applies to

node class class

Version

XFA 2.1

Examples

JavaScript

xfa.data.saveXML(); 
xfa.data.saveXML("pretty");

FormCalc

xfa.data.saveXML() 
xfa.data.saveXML("pretty")

// Ethnio survey code removed