Example
Smartsite SXML |
Copy Code
|
{buffer.set(file, filesystem.combinepaths("functionaltests/readfromfile","Hallo.txt"))}
<se:if expression="filesystem.existsfile($file)">
<se:then>{buffer.get(file)} contains: {filesystem.readtext($file)}</se:then>
<se:else>File not found: {buffer.get(file)}</se:else>
</se:if>
|