XSL instructions

XSL formatting instructions are XML elements that contain the text they apply to. Attributes are frequently used to specify the styles to be applied to this text. For those familiar with CSS and other stylesheet languages, this is an unfamiliar concept. With these languages, the content is always separate from the styling instructions. The XSL approach more closely resembles traditional typesetting languages, where formatting instructions are embedded in the text.

XSL documents are therefore XML documents. Although no DTD is specified for XSL elements, one could be derived from the definitions in the draft XSL standard, and this DTD could be used to validate an XSL document. One possible reason why a DTD has not been defined ...

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.