Lines Matching refs:doc
118 xmlDocPtr doc; /* when walking an existing doc */
229 if (id->doc != NULL)
230 dict = id->doc->dict;
239 * @doc: the document
247 xmlTextReaderRemoveID(xmlDocPtr doc, xmlAttrPtr attr) {
252 if (doc == NULL) return(-1);
254 table = (xmlIDTablePtr) doc->ids;
258 ID = xmlNodeListGetString(doc, attr->children, 1);
289 if ((cur->parent != NULL) && (cur->parent->doc != NULL) &&
290 ((cur->parent->doc->intSubset != NULL) ||
291 (cur->parent->doc->extSubset != NULL))) {
292 if (xmlIsID(cur->parent->doc, cur->parent, cur))
293 xmlTextReaderRemoveID(cur->parent->doc, cur);
1263 if (reader->doc != NULL)
1616 if (reader->doc != NULL)
1642 if (reader->doc != NULL)
1676 xmlDocPtr doc;
1681 doc = reader->doc;
1685 node = xmlDocCopyNode(cur_node, doc, 1);
1687 if (xmlNodeDump(buff2, doc, node, 0, 0) == -1) {
1722 xmlDocPtr doc;
1725 doc = reader->doc;
1729 node = xmlDocCopyNode(node, doc, 1);
1731 if (xmlNodeDump(buff, doc, node, 0, 0) == -1) {
1860 if (reader->doc->children == NULL) {
1865 reader->node = reader->doc->children;
1931 if (reader->doc->children == NULL) {
1936 reader->node = reader->doc->children;
2002 if (reader->doc == NULL) {
2049 ret->doc = NULL;
2331 ret = xmlNodeListGetString(reader->node->doc, cur->children, 1);
2395 ns = xmlSearchNs(reader->node->doc, reader->node, prefix);
2525 ns = xmlSearchNs(reader->node->doc, reader->node, prefix);
2863 reader->faketext = xmlNewDocText(reader->node->doc,
2892 xmlDocPtr doc = NULL;
2895 if (reader->doc != NULL)
2896 doc = reader->doc;
2898 doc = reader->ctxt->myDoc;
2899 if (doc == NULL)
2902 if (doc->encoding == NULL)
2905 return(CONSTSTR(doc->encoding));
2964 * http://www.gnu.org/software/dotgnu/pnetlib-doc/System/Xml/XmlNodeType.html
3052 if (reader->doc != NULL)
3536 (attr->parent->doc, attr->children, 1));
3986 if (reader->doc != NULL)
3987 return(reader->doc);
4474 xmlDocPtr doc = NULL;
4477 if (reader->doc != NULL)
4478 doc = reader->doc;
4480 doc = reader->ctxt->myDoc;
4481 if (doc == NULL)
4484 if (doc->version == NULL)
4487 return(CONSTSTR(doc->version));
4502 xmlDocPtr doc = NULL;
4505 if (reader->doc != NULL)
4506 doc = reader->doc;
4508 doc = reader->ctxt->myDoc;
4509 if (doc == NULL)
4512 return(doc->standalone);
4913 reader->doc = NULL;
5084 reader->doc = NULL;
5112 * @doc: a preparsed document
5119 xmlReaderWalker(xmlDocPtr doc)
5123 if (doc == NULL)
5141 ret->doc = doc;
5310 * @doc: a preparsed document
5318 xmlReaderNewWalker(xmlTextReaderPtr reader, xmlDocPtr doc)
5320 if (doc == NULL)
5340 reader->doc = doc;