W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > July 2000

Re: What happens to embedded stylesheets

From: Martin Bryan <mtbryan@sgml.u-net.com>
Date: Tue, 18 Jul 2000 07:59:17 +0100
Message-ID: <006c01bff08a$b6daaa00$60cc66c3@sgml>
To: "Jonathan Marsh" <jmarsh@microsoft.com>, <www-xml-xinclude-comments@w3.org>
Jonathon
> 
> Note that I don't have a good answer for you about what this means.  The
> stylesheet pi rec states: "The xml-stylesheet processing instruction is
> allowed only in the prolog of an XML document."  So I would expect the
> nested pis to either generate an error or be ignored, but only when being
> interpreted by a browser.  This is not an XML nor inclusion error.

Thanks for your response. This is the bit that is important. I'd forgotten this "minor factor" and I suspect others will have too. The question, therefore, becomes "Should xml-stylesheet PIs be stripped from included trees as they are never valid inside another element?"

Martin
Received on Tuesday, 18 July 2000 03:33:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:29 UTC