W3C home > Mailing lists > Public > www-html@w3.org > August 2003

Re: Why doesn´t this work?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 16 Aug 2003 03:04:07 +0200
To: ruus@freenet.de
Cc: www-html@w3.org
Message-ID: <3f6f82aa.457498157@smtp.bjoern.hoehrmann.de>

* ruus@freenet.de wrote:
>i am just experimenting a little bit with xhtml. What must be
>done that a browser understand these two lines? 

What do you mean by "understand"?

><p><code><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
><?xml-stylesheet type="text/css" href="/style/xhtml2" title="basic" ?></code></p>

The XML declaration must be placed at the very beginning of the
document, it is not allowed in element content. The xml-stylesheet
processing instruction is neither allowed in element content, it
must be placed prior to the root element.
Received on Friday, 15 August 2003 21:04:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:10 UTC