Re: [xsl] HTML Output & PI

Subject: Re: [xsl] HTML Output & PI
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 30 Oct 2002 14:21:13 GMT
> 1. Is Saxon non-conformant here?

Yes. If the top level element in the output is <html>. (in any case, eg
<HTML> then then XSLT defaults to the html output type, if you want xml
output then you need <xsl:output type="xml"/>.

In HTML, PIs are terminated by > not ?>.
 ?> would be legal of course but the ? would be part of the content of
the PI not part of the delimiter. 

> 2. If it is are there likely to be any adverse effects? Browser
> 2. issues?

Most browsers don't much like Pis at all but if it is a conforming HTML
parser then you don't want the second ?.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread