The most likely explanation is that your <br> element is not in the XHTML namespace.
Michael Kay

From: [] On Behalf Of Mark Gabriel
Sent: 03 July 2006 10:33
Subject: [saxon] xhtml output

Hi all…


Not sure if I’m being silly here or what.

With Saxon 8 outputting XHTML I’m not getting what I expect with regards to empty elements.


A <br/> will output as <br></br> which it regarded by browsers as 2 brs.


The same seems to happen for <img/> <hr/> etc

With the output as XML I and getting what I would expect and for HTML I get no closing tag at all.


How do I get the correct output for what I want?





Mark G