Kees Broenink wrote: > Éric, > > I tried your solution described below but it does not solve the > <script></script> problem... > > <script type="text/javascript" src="/bxs/3_0_1/bpc/boot.js"></script> > > will return: > > <script type="text/javascript" src="/bxs/3_0_1/bpc/boot.js" > xml:space="preserve" /> > > So IE is not happy. > > Regards, Kees
it works with saxon8 with html and xhtml methods. You can test other processor with a XSLT1.0 version of this stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xpath-default-namespace="http://www.w3.org/1999/xhtml" version="2.0"> <xsl:output method="xhtml"/> <xsl:template match="*|@*|text()"> <xsl:copy> <xsl:apply-templates select="*|@*|text()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> on this data <?xml version="1.0" encoding="UTF-8"?> <test> <script/> <div/> <inputarea/> <br/> </test> With saxon8, script, div, and inputarea are reopened, but br is serialized "as is". Regards.