hello,
i am working on a quite simple custom XML to XHTML stylesheet. in the XSL
template i put the XHTML xmlns in the top level html element.
<html xmlns="http://www.w3.org/1999/xhtml">
so every result element in this template is also in the XHTML xmlns.
the problem is that in every other template that i put into the stylesheet
every result element again has to be put in the XHTML xmlns. so the whole
stylesheet is more or less cluttered with
<b xmlns="http://www.w3.org/1999/xhtml">... stuff.
the only other solution would be to put a
xmlns:h="http://www.w3.org/1999/xhtml" in the xsl:stylesheet element and prefix
all result elements with that
<h:b>...
is the above the way it works? is there any simpler way of dealing with
namespaces or this the only solution? esp with generating HTML it seems odd to
use a namespace prefix.
thanks
chris