Template instructions
A number of instructions may appear within a template, including comments, processing instructions, elements and attributes.
Template entity
The instructions allowed directly within a Template element are in some cases also allowed within the instructions themselves (with the exception of the Param element). For convenience, the Template entity is defined to group these elements:
<!ENTITY % template " (#PCDATA %instructions;
%result-elements;)* " >
Elements that refer to this entity include the If, When, Otherwise, With Parameter, Variable, Parameter, Copy, Message and Fallback elements.
Comment element
A Comment element is defined as follows:
<!ELEMENT xsl:comment %char-template; >
With all entities replaced, the true ...
Get XSL companion, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.