xsl-list
[Top] [All Lists]

Re: HTML Output & PI

2002-10-30 07:21:13

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 ?.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>