XSLT elements and attributes

The elements and attributes defined in the XSLT DTD are shown in the table below, sorted into alphabetical order. This DTD includes the attribute 'xmlns:xsl' to declare the namespace of XSLT elements. It may be necessary to add at least one more attribute, to declare the namespace for the output document, such as 'xmlns:fo' or 'xmlns:html'. Also, a stylesheet document author may elect to ignore this attribute, and use another prefix, or simply use the default namespace:

Element Attributes
apply-imports (none)
apply-templates select, mode
attribute name, namespace, xml:space, use-attribute-sets
attribute-set name, use-attribute-sets
call-template name
choose xml:space
comment xml:space
copy xml:space, use-attribute-sets ...

Get XML Companion, The, Third Edition 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.