W3C home > Mailing lists > Public > www-xml-stylesheet-comments@w3.org > March 2004

Error in xml-stylesheet PI Example

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Sat, 06 Mar 2004 21:29:30 +1100
Message-ID: <4049A80A.6000405@iinet.net.au>
To: www-xml-stylesheet-comments@w3.org

Hi,
   I found an error in an example within the document “Associating Style 
Sheets with XML documents Version 1.0” [1].

   In the first example of comparing the HTML 4.0 <link> element with 
the <?xml-stylesheet?> PI, The rel attribute should be rel="stylesheet".
ie.
Should be:
<LINK href="mystyle.css" rel="stylesheet" type="text/css">
<?xml-stylesheet href="mystyle.css" type="text/css"?>
Not:
<LINK href="mystyle.css" rel="style sheet" type="text/css">
<?xml-stylesheet href="mystyle.css" type="text/css"?>

[1] http://www.w3.org/TR/xml-stylesheet/

-- 
Lachlan Hunt
Received on Saturday, 6 March 2004 05:33:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 18 February 2014 13:20:07 UTC