We are in the process of transitioning to xml/xhtml, but due to some 
browser and search software issues we are serving out only html not 
xhtml.  Currently, we use apache/php with Sablottron to transform our 
xhtml to html with the following transform.

<?xml verion="1.0"?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output method="html" indent="yes" encoding="ISO-8859-1" />
<xsl:template match="xhtml:html" 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; >
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>



It works fine.  I was looking to try cocoon for its caching, but the 
transform in xalan results in xhtml.  The trailing /> are not changed to 
 >.  I have noticed that if I remove the namespace from the html tag it 
works, but I'm not sure why.  Any help would be appreciated.

Reply via email to