Check if there is a file in the specified path.

1 file.exists

    <file /> !

Verify the existence of a file.

<xsql-script name='file_exists_sample1'>
        <set name='m_path'>
            <string>c:<file.separator />tmp<file.separator />source<file.separator />deister.txt</string>
                    <file name='#m_path' type='absolute' />
                <set name='m_result'>existente</set>
                <set name='m_result'>no encontrado</set>
        <println>Fichero <m_path/> <m_result/></println>

Note that even when the function returns a Boolean value, the comparison of equality is ignored in the expression of the conditional statement and the condition is true if the label returns 1.