Re: transformiix seems to be ignoring output method.

Peter Van der Beken <[email protected]> Fri, 05 Sep 2008 12:47:51 +0200
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Message-ID <[email protected]>
[email protected] wrote:
> I am doing an xslt transformation with xsl:output method="xml" and
> using transformToDocument. The returned document however has the
> transformiix:result as its root node, which by specification should
> only happen with text output. This in short is causing a huge amount
> of problems.

Actually, this can also happen with xml output: XSLT allows multiple 
root elements in the output, but an XML document can have only one 
document element. Instead of bailing out we try to deal by making those 
elements be a child of a transformiix:result document element. If that's 
not what you want, make sure you're only generating one root element in 
the output.

Peter