The most likely explanation is that your <br> element is not in the XHTML namespace.Michael Kay
From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of Mark Gabriel
Sent: 03 July 2006 10:33
Subject: [saxon] xhtml output
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?
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ saxon-help mailing list firstname.lastname@example.org https://lists.sourceforge.net/lists/listinfo/saxon-help
-- John McGowan email@example.com P 847.608.6900 x 110 F 847.608.9501