|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] HTML Output & PI
I have a question on the output format for processing instructions when no output method is set. For HTML a XSLT processor is supposed to use '>' rather than '?>' to terminate a processing instruction. However if you use, <xsl:template match="/"> <xsl:processing-instruction name="a">b</xsl:processing-instruction> <html/> </xsl:template> with Instant Saxon 6.5 the output is, <?a b?><html/> I am assuming that Saxon does not determine the output should be HTML until after the PI has been output. To handle this correctly would clearly require some form of output lookahead is used when formating output which would be nasty to implement. So, 1. Is Saxon non-conformant here? 2. If it is are there likely to be any adverse effects? Browser issues? Thanks, Kev. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








