Re: How to make an XMLDocument as a parameter in a XSLT transformation ?
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Thanks for the advice! In fact I'm not looking for a way to make this work in IE, I'm looking for a way to make this work on Mozilla. As I said I already used this approach on the msxml api and it works without problems. I want to bind a whole XML Document (what datatype exactly?) as a xsl parameter so that i can mix up data from the xml to be transformed with data from the xml bound as parameter. If try that code with a string or number it works without complain, if I bind an XMLDocument I get a: Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXSLTProcessor.transformToDocument]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///c:/Documents%20and%20Settings/ptog/Desktop/abstractxml/abstractxml.js :: anonymous :: line 253" data: no] Is this a bug? Is this the wrong way to do something like this? Is my xsl wrong? Again, thanks in advance!