GWC Template Language Reference / Template Element Identifiers |
The element attribute identifier name the snippet-based rendering engine (SBRE) must use to identify elements is directly specified in the main template file, by means of a processing instruction named gwc-id. This instruction must be located at the root level of the document.
<?xml version="1.0" encoding="utf-8"?> <?gwc-id x:Name?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:x="http://www.server.com/ns/xxx" xmlns:gwc="http://www.4js.com/GWC"> ...