Result elements

A template may also contain result elements, such as HTML or XSL FO elements. Because the nature of these elements is potentially infinite, it was not possible for the XSLT DTD creators to include them directly. Instead, a mechanism to make them easy to include in variants of the XSLT DTD has been included.

The Result Elements entity is used to name output elements to be added to the XSLT elements. The value of this entity depends on the result elements needed. This could be the complete set of HTML elements, the FO elements from the XSL specification, or some other set of elements:

<!ENTITY % result-elements "...">

<!ENTITY % result-elements "html:P | html:H1 |
                             html:H2 | ..." >

As already shown above, this entity is referenced ...

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.