Re: Why doesn´t this work?

* 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