An error occurred – [[ $type ]]
[% if ends-with($type, ':error-dynamic') %]The system encountered a dynamic error rendering the HTML template. This might be due to a problem in the template itself or an XQuery module being imported.
The XQuery code the template was compiled into and which triggered the error is display at the bottom.
[% elif ends-with($type, ':error-include') %]A file included into the HTML template being rendered could not be found.
[% elif ends-with($type, ':error-extends') %]A base template extended by the HTML template could not be found.
[% elif ends-with($type, ':error-eof') %]An error in the templating syntax prevented it from being rendered. This might be due to a missing "endXXX" marker. See details below.
[% elif ends-with($type, ':error-syntax') %]An error in the templating syntax prevented it from being rendered. This is likely due to an unknown expression being used.
[% endif %]Full error details:
[[ $description ]][% if ends-with($type, ':error-dynamic') %]