2.2.1 [W3C-XML-StyleSheets] Section 1, The xml-stylesheet processing instruction

C0001:

The specification states:

Style Sheets can be associated with an XML[XML10] document by using a processing instruction whose target is xml-stylesheet.

All Modes (Internet Explorer 9)

The XSLT will correctly be transformed to either HTML or XML based on the <xsl:output> method specified in the XSLT file. However, the result of that output will be parsed as HTML if no <xsl:output> is present in the primary XSLT file. If an <xsl:output> is present in the primary XSLT file, the appropriate parser (HTML or XML) will be selected based on the value of its method attribute.

C0004:

The specification states:

 In some cases, style sheets may be linked with an XML document by means external to the document.

MSXML3, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

Style sheets that are linked with an XML document by means external to the document are ignored.

C0002:

The specification states:

 NOTE: If the xml-stylesheet processing instruction occurs in the external DTD 
 subset or in a parameter entity, it is possible that it may not be processed 
 by a non-validating XML processor (see [XML10]).

MSXML3, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

The xml-stylesheet processing instruction is not processed when it occurs in an external DTD subset or in a parameter entity.

C0003:

The specification states:

 In some cases, style sheets may be linked with an XML document by means external 
 to the document. For example, earlier versions of HTTP [RFC2068] 
 (section 19.6.2.4) allowed style sheets to be associated with XML documents 
 by means of the Link header. Any links to style sheets that are specified 
 externally to the document are considered to occur before the links specified 
 by the xml-stylesheet processing instructions. This is the same as in 
 HTML 4.0 (see section 14.6).

MSXML3, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

Style sheets that are linked with an XML document by means external to the document are ignored.

Show: