Returns the absolute path of a file.

1 file.getAbsolutePath

<file.getAbsolutePath>
    <file /> !
</file.getAbsolutePath>
Example

Print on screen the absolute path of the file.

Copy
<xsql-script name='file_getAbsolutePath_sample1'>
    <body>
        <set name='m_path'>
            <string>c:<file.separator />jas<file.separator />webstudio.gc</string>
        </set>
        <println trim='true'>
            Absolute path of the file<string.space /><m_path/><string.space />:<string.space />
            <file.getAbsolutePath>
                <file name='#m_path' type='absolute' />
            </file.getAbsolutePath>
        </println>
    </body>
</xsql-script>