XML Flatten

Written by Daniel Chilcott Updated over a week ago

Removes hierarchy in an XML document so that elements are rendered in order of their original depth in a flat hierarchy. This is useful if you are converting an XML document to a human-readable report (for example, you can use the output of this Node to render a spreadsheet using the Excel Node).

Revision History

2.0.0.2 Initial Release

Properties

DeepXml

Mode

Type: List InputIndicates how the document hierarchy should be flattenedColumnAsNodeName - Original element names are preservedTableAndColumnAsNodeName - New element names are composed of original element name preceded by the parent element nameColumnAsRowHeader - An additional series of elements containing values that provide the original element names are inserted as a first "row" in the resulting document (used to create a human-readable report)TableAndColumnAsRowHeader - As above but the names are provided in the form parent element name.element nameTableOnceAndColumnAsRowHeader - As above but the parent element nameis only included when it is different to the preceding parent element name