When I put forexample this in my xslt-stylesheet:
<link><xsl:text>test</xsl:text></link>
Or this:
<link>test</link>
I get the following result:
<link xmlns=""></link>
This however:
<linkb>test</linkb>
Render the following result:
<linkb xmlns="">test</linkb>
The rest of the xslt does not seem to make any difference, i’ve tried it in several different and empty xslt-stylesheets
This problem appears in backend conversion (php) aswell as frontend-konversion in chrome browser (but not in Firefox)
Example of error:
dev.resihop.nu
(right above the footer)
It’s not really an XSLT issue.
Is rendered by Chrome, problem is with built-in browser CSS:
You can see this with Chrome developer toolbar (just press Ctrl-Shift-I). I think it’s also a reason of no rendering of tag’s content. I guess Chrome just don’t like elements with such names and treats them specifically.
Edit. And actually I do understand, why. Because of the
linktag, which we all use inheadsection.In fact the simpliest way to avoid issues like yours — is to pick any suitable (X)HTML doctype and make your code valid, according to that doctype.