blockly > Xml > domToPrettyText
Xml.domToPrettyText() function
Converts a DOM structure into properly indented text.
Signature:
export declare function domToPrettyText(dom: Node): string;
Parameters
Parameter | Type | Description |
---|---|---|
dom | Node | A tree of XML elements. |
Returns:
string
Text representation.