The <system-region></system-region> tags are automatically added to rendered and published content that does not contain valid XML. Specifically, due to the lack of a root element when Cascade CMS attempts to validate the content as XML during the rendering and publishing process.

In order to generate non-XML, surround the region(s) with a "dummy" tag that is wrapped in a #cascade-skip code section. By using this code section, Cascade CMS will skip this "dummy" tag on render and publish, resulting in only the content being displayed.

Sample Template

<!--#cascade-skip--><removed><!--#cascade-skip--><system-region name="DEFAULT" /><!--#cascade-skip--></removed><!--#cascade-skip-->


Because the content is no longer valid XML, you may encounter an error similar to the following when the browser attempts to render the content within Cascade CMS:

This page contains the following errors:
error on line 2 at column 1: Document is empty
Below is a rendering of the page up to the first error.

This is due to Cascade CMS telling the browser to render the content as XML, when in fact it is not. The error can be disregarded.

Did this answer your question?