+Wed Oct 27 00:00:07 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/transform.c: fix to force string interning on generated
+ documents
+
Sat Oct 23 09:36:12 PDT 2004 William Brack <wbrack@mmm.com.hk>
* libexslt/crypto.c, libexslt/functions.c, libxslt/keys.c,
if ((node->type == XML_TEXT_NODE) ||
(node->type == XML_CDATA_SECTION_NODE))
return(xsltCopyText(ctxt, insert, node));
- copy = xmlCopyNode(node, 0);
+ copy = xmlDocCopyNode(node, insert->doc, 0);
if (copy != NULL) {
copy->doc = ctxt->output;
xmlAddChild(insert, copy);
copy = NULL;
return(copy);
}
- copy = xmlCopyNode(node, 0);
+ copy = xmlDocCopyNode(node, insert->doc, 0);
if (copy != NULL) {
copy->doc = ctxt->output;
xmlAddChild(insert, copy);
XSLT_TRACE(ctxt,XSLT_TRACE_COPY,xsltGenericDebug(xsltGenericDebugContext,
"xsltCopy: PI %s\n", node->name));
#endif
- copy = xmlNewPI(node->name, node->content);
+ copy = xmlNewDocPI(ctxt->insert->doc, node->name,
+ node->content);
xmlAddChild(ctxt->insert, copy);
break;
case XML_COMMENT_NODE:
}
#endif
- pi = xmlNewPI(name, value);
+ pi = xmlNewDocPI(ctxt->insert->doc, name, value);
xmlAddChild(ctxt->insert, pi);
error: