Log in

View Full Version : Resolved xsl adding blank xmlns



SaishuHane
02-02-2011, 11:12 PM
I have been trying everything I could possibly think of to correct this, but everything I try ends up with the result being written with a blank xmlns in the div every time.



<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:php="http://php.net/xsl">
<xsl:template name="skin-sitemap">
<div id="sidesm">
<ul>
<li><a href="/sitemap">Sitemap</a></li>
</ul>
</div>
</xsl:template>
</xsl:stylesheet>


This is the code I always end up with after this.



<div xmlns="" id="sidesm">
<ul>
<li>
<a href="/sitemap">Sitemap</a>
</li>
</ul>
</div>