Hello Scott, Am Samstag, 14. Dezember 2002 23:58 schrieb [EMAIL PROTECTED]: > My knee-jerk is that what you are seeing is not a bug. The spec says > something about if the node has a namespace on it, it should be output as > XML rather than as HTML. Since you are assigning the default namespace, > all the nodes are namespaced and thus must be in XML. > > -scott
I've finally found it: "[...]; an element whose expanded-name has a non-null namespace URI should be output as XML." [ http://www.w3.org/TR/xslt#section-HTML-Output-Method ] Every time I read a spec, I tend to find a new aspect. Is that why it's called a spec? ;-) I've also found a way to get around this: <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="" xmlns:html="http://www.w3.org/1999/xhtml" > <xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default" /> <xsl:output method="html" /> <xsl:template match="html:*"> <xsl:element name="{local-name()}"> <xsl:apply-templates select="@*|node()"/> </xsl:element> </xsl:template> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:transform> Is there an easier way than the way described to do that? Thanks -- ITCQIS GmbH Christian Wolfgang Hujer Gesch�ftsf�hrender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: http://www.itcqis.com/
