[xsl] problem copying xhtml elements from xml input file

Subject: [xsl] problem copying xhtml elements from xml input file
From: "cking" <cking@xxxxxxxxxx>
Date: Mon, 12 Jul 2004 19:36:37 +0200
I have xml input files containing xhtml elements. Something like

  <p>a paragraph with <b>bold</b> text</p>
  <img src="pic.gif" alt=""/>

I just want to copy these elements to the output tree. I thought I could do that with a simple xsl:copy-of, like this

<xsl:template match="content-block">
  <xsl:copy-of select="node()"/>

This works fine... in IE6, but not in Mozilla. I made a testcase and reported this as a possible bug, but they reply that it doesn't
work because the copied elements are in the wrong namespace. Maybe they're right, and I tried to fix it in a number of ways but I
can't get it to work.

The complete testcase can be found here:

And the bugreport:

Maybe someone can point out what I'm doing wrong?

Anton Triest

Current Thread