On 26/06/2011 14:17, Sebastian Rahtz wrote:
> the problem is, I think, that HTML5 starting
> <!DOCTYPE html>
> <html lang="en-GB">
> is not really suited to processing using XSLT, as the<html>
> is not formally in the XHTML namespace which the transformation expects.
> HTML5 processors are supposed to magically do this, as I understand
> the spec, but Saxon is not an HTML5 processor.
you should however (in theory, not tried it) be able to tell saxon to
use Henri Sivonen's java html5 parser which exposes a sax interface so
all the html5 weirdness should have been resolved by the parser and
saxon should just see sax events as if parsed by a well formed xhtml file.
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.