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?

 

 

Thanks,

 

Mark G