Place an xml-stylesheet
processing
instruction in the prolog immediately after the XML
declaration (if any) and before the document type declaration (if any).
This processing instruction should have a
type
attribute with the value
text/xsl
and an href
attribute
whose value is an absolute or relative URL pointing to the style sheet.
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="compositions.xsl"?>
This is also how you attach a CSS style sheet to a
document. The only difference here is that the
type
attribute has the value
text/xsl
instead of text/css
.