Adding EndLoad call for the stylesheet when doing an XSLT transform. r=jag, sr=jst.

This commit is contained in:
Peter.VanderBeken%pandora.be 2001-03-12 06:30:38 +00:00
parent 33e7b8edf6
commit d301ad3dec

View File

@ -88,6 +88,7 @@ nsXSLContentSink::DidBuildModel(PRInt32 aQualityLevel)
nsresult rv;
mDocument->SetRootContent(mDocElement);
mDocument->EndLoad();
styleDoc = do_QueryInterface(mDocument, &rv);
if (NS_SUCCEEDED(rv) && mXSLTransformMediator) {
// Pass the style content model to the tranform mediator.