Created attachment 574032 [details] XML input User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Build ID: 20110930134708 Steps to reproduce: 1. Create events.xml (Attached, ), event-list.xsl (Attached, ). 2. Open events.xml in Firefox Actual results: The <td> tags are somehow displayed all in one column (below the “Timestamp”-th) Expected results: <td> tags should behave as in pretransformed.xhtml (Attached, ) -- From what I found in the search, this bug may be related to #230214
Created attachment 574034 [details] xsl transformation applied Attached xsl transformation  http://sotecware.net/files/xslbugreport/event-list.xsl
Created attachment 574035 [details] Example output for reference Attached pretransformed xhtml output  http://sotecware.net/files/xslbugreport/pretransformed.xhtml
This is because you are using XML output (which happens because the root element outputted isn't in the null namespace) but the <td> elements which are output are not in the XHTML namespace. You can fix this by either removing the namespace declaration on the <html> element, which makes the transform use HTML output, or by making sure that all elements you output are in the XHTML namespace. This is all per the XSLT specification.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
Oh, if you want to use HTML output, you should also remove the method="xml" in the output element (or remove the output element completely).
Aaaaargh of course. not seen the obvious, sorry for having bothered you! moving the xmlns to the xsl:stylesheet node fixes it. best regards
You need to log in before you can comment on or make changes to this bug.