Multiple choice xml

What is a correct way of referring to a stylesheet called "style.xsl"?

  1. <stylesheet type="text/xsl" href="style.xsl" />

  2. <link type="text/xsl" href="style.xsl" />

  3. <?xml-stylesheet type="text/xsl" href="style.xsl" ?>

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Stylesheets are referenced using the processing instruction with attributes for `type` and `href`. Options A and B use incorrect element-based syntax ( and ``) which are not valid for associating XSL stylesheets with XML documents. The processing instruction must appear in the XML prolog.