Zoomed Image

AMSX Scripting Language - Command : flattenxml

Summary

Flatten the AMSX XML document into a single-level structure

Description

Converts the current AMSX XML document (mdoc) into a flat XML structure where all child elements are promoted to the root level. Useful for simplifying nested XML before further processing or saving.

Parameters

ParameterDescription
cmdRoot node name for the flattened document

Syntax


FlattenXML "Root node name for the flattened document"

Return to the AMSX Command Reference