Returns a temporal File with the file converted with the correct indentation.

1 dom.prettyPrint

<dom.prettyPrint
    encoding='encoding'
    omitxml='omitxml'
>
    <Document /> *
</dom.prettyPrint>
Example

PrettyPrint is a node from an XML file.

Copy
<xsql-script name='dom_prettyPrint'>
    <body>
        <println>
            <dom.prettyPrint>
                <dom.parse>
                    <file name="test.xml" type="absolute"/>
                </dom.parse>
            </dom.prettyPrint>
        </println>
    </body>
</xsql-script>