Lines Matching defs:sourceDoc
270 xmlDocPtr sourceDoc = 0;
272 sourceDoc = (xmlDocPtr)ownerDocument->transformSource()->platformSource();
273 if (!sourceDoc) {
274 sourceDoc = (xmlDocPtr)xmlDocPtrForString(ownerDocument->cachedResourceLoader(), createMarkup(sourceNode),
276 shouldDelete = sourceDoc;
278 return sourceDoc;
318 if (xmlDocPtr sourceDoc = xmlDocPtrFromNode(sourceNode, shouldFreeSourceDoc)) {
323 xsltTransformContextPtr transformContext = xsltNewTransformContext(sheet, sourceDoc);
347 xmlDocPtr resultDoc = xsltApplyStylesheetUser(sheet, sourceDoc, 0, 0, 0, transformContext);
354 xmlFreeDoc(sourceDoc);