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

git-svn-id: svn://10.0.0.236/trunk@145630 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
axel%pike.org 2003-08-05 22:37:23 +00:00
parent fde1443dcc
commit 0b7ee97d78

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;