<xt id="include" file="/demo/_include/{_$action|error}" />
<xt id="include" file="/demo/_include/eu" />
result
THIS IS THE FILE eu
N O - E R R O R
This link links to this page<a href="/demo/adi?action=eu">link</a>
linkAnd this to a second file
<a href="demo/adi1?action=eu">link2</a>
link2now without setting action
link3The only way you can get a "include" error is if you try to include a non existing file or try to include a file in to its self . You can even include the same file twice on one page like this
THIS IS THE FILE eu
N O - E R R O R