[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] problem copying xhtml elements from xml input file
I have xml input files containing xhtml elements. Something like <content-block> <p>a paragraph with <b>bold</b> text</p> <img src="pic.gif" alt=""/> </content-block> 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()"/> </xsl:template> 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: http://users.telenet.be/cking/webstuff/test/copy-of/info.html And the bugreport: http://bugzilla.mozilla.org/show_bug.cgi?id=250921 Maybe someone can point out what I'm doing wrong? Thanks Anton Triest
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|