bug 214954, fix embedded XSLT stylesheets from script, r=sicking, sr=peterv

This commit is contained in:
axel%pike.org 2003-08-05 22:37:23 +00:00
parent 8f07cf446a
commit 397117c707

View File

@ -774,7 +774,7 @@ TX_CompileStylesheet(nsIDOMNode* aNode, txStylesheet** aStylesheet)
new txStylesheetCompiler(base, obs);
NS_ENSURE_TRUE(compiler, NS_ERROR_OUT_OF_MEMORY);
nsresult rv = handleNode(document, compiler);
nsresult rv = handleNode(aNode, compiler);
if (NS_FAILED(rv)) {
compiler->cancel(rv);
return rv;