Searched refs:doc (Results 1 - 25 of 30) sorted by relevance

12

/PHP_TRUNK/ext/soap/tests/interop/Round3/GroupD/
H A Dround3_groupD_compound1.inc8 function echoDocument($doc)
10 return $doc;
/PHP_TRUNK/ext/dom/tests/
H A Ddomdocumentload_test_method.php4 $doc = new DOMDocument(); variable
8 $result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options);
H A Ddomdocumentload_test_method_savexml.php4 $doc = new DOMDocument(); variable
8 $result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options);
13 echo $doc->saveXML();
H A Ddomdocumentloadxml_test_method.php4 $doc = new DOMDocument(); variable
7 $result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),
H A Ddomdocumentloadxml_test_method_savexml.php4 $doc = new DOMDocument(); variable
7 $result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),
13 echo $doc->saveXML();
/PHP_TRUNK/ext/dom/
H A Dcharacterdata.c238 ((nodep->doc != NULL) && (nodep->doc->dict != NULL) &&
239 xmlDictOwns(nodep->doc->dict, nodep->content))) {
H A Ddocumentfragment.c89 static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */ argument
98 prop->doc = doc;
102 php_dom_xmlSetTreeDoc(cur, doc);
112 php_dom_xmlSetTreeDoc(cur, doc);
116 tree->doc = doc;
143 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, data, &lst);
149 php_dom_xmlSetTreeDoc(lst, nodep->doc);
H A Ddomimplementation.c173 if (doctype->doc != NULL) {
212 doctype->doc = docp;
223 doctype->doc = NULL;
H A Delement.c302 ns = xmlSearchNs(elem->doc, elem, prefix);
349 value = xmlNodeListGetString(attr->doc, attr->children, 1);
515 attrp = xmlNewDocNode(nodep->doc, NULL, (xmlChar *) attrp->children, attrp->name);
517 attrp = xmlNewDocNode(nodep->doc, NULL, (xmlChar *)"xmlns", attrp->name);
558 if (!(attrp->doc == NULL || attrp->doc == nodep->doc)) {
577 if (attrp->doc == NULL && nodep->doc != NULL) {
698 static xmlNsPtr _dom_new_reconNs(xmlDocPtr doc, xmlNodePt argument
[all...]
H A Dnode.c162 static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) /* {{{ */ argument
173 if((nsptr = xmlSearchNsByHref(doc, nodep->parent, curns->href)) &&
181 dom_set_old_ns(doc, curns);
189 xmlReconciliateNs(doc, nodep);
670 docp = nodep->doc;
794 nsnode = xmlDocGetRootElement(nodep->doc);
899 baseuri = xmlNodeGetBase(nodep->doc, nodep);
973 if (node->doc != nodep->doc) {
974 xmlSetTreeDoc(node, nodep->doc);
[all...]
H A Dphp_dom.c125 if (node->doc == NULL) {
1182 cloned_node = xmlDocCopyNode(node, node->doc, 1);
1184 /* If we cloned a document then we must create new doc proxy */
1185 if (cloned_node->doc == node->doc) {
1188 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC);
1428 if (obj->doc != NULL) {
1432 php_libxml_increment_doc_ref((php_libxml_node_object *)intern, obj->doc TSRMLS_CC);
1449 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1554 dom_set_old_ns(xmlDoc *doc, xmlNs *ns) argument
[all...]
H A Dphp_dom.h110 void dom_set_old_ns(xmlDoc *doc, xmlNs *ns);
H A Dtext.c184 nnode = xmlNewDocText(node->doc, second);
H A Dxpath.c41 ZEND_ARG_OBJ_INFO(0, doc, DOMDocument, 0)
159 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name);
161 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) "xmlns", node->name);
270 /* {{{ proto void DOMXPath::__construct(DOMDocument doc) U */
273 zval *id, *doc; local
281 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_xpath_class_entry, &doc, dom_document_class_entry) == FAILURE) {
287 DOM_GET_OBJ(docp, doc, xmlDocPtr, docobj);
329 docp = (xmlDocPtr) ctx->doc;
412 docp = (xmlDocPtr) ctxp->doc;
426 if (nodep && docp != nodep->doc) {
[all...]
H A Ddocument.c1071 node->doc = docp;
1197 if (nodep->doc == docp) {
1212 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1253 nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri);
1317 nsptr = xmlSearchNsByHref (nodep->doc, root, uri);
1771 /* encoding handled by property on doc */
1818 if (node->doc != docp) {
2330 if (node->doc != docp) {
H A Ddocumenttype.c202 if (dtdptr->doc != NULL && ((intsubset = xmlGetIntSubset(dtdptr->doc)) != NULL) && intsubset->children != NULL) {
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c101 xmlDocPtr doc; local
106 doc = soap_xmlParseFile((char*)location TSRMLS_CC);
109 if (doc == NULL) {
112 schema = get_node(doc->children, "schema");
114 xmlFreeDoc(doc);
120 xmlFreeDoc(doc);
124 xmlFreeDoc(doc);
134 xmlFreeDoc(doc);
138 zend_hash_add(&ctx->docs, (char*)location, xmlStrlen(location)+1, (void**)&doc, sizeof(xmlDocPtr), NULL);
197 xmlChar *base = xmlNodeGetBase(trav->doc, tra
[all...]
H A Dphp_xml.c190 return xmlSearchNs(node->doc, node->parent, NULL);
199 return xmlSearchNs(node->doc, node, NULL);
H A Dphp_encoding.c562 nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns));
630 xmlDocPtr doc = soap_xmlParseMemory(Z_STRVAL_P(return_value), Z_STRLEN_P(return_value)); local
631 if (doc && doc->children) {
632 ret = xmlDocCopyNode(doc->children, parent->doc, 1);
634 xmlFreeDoc(doc);
2580 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2601 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2959 nsptr = xmlSearchNs(data->doc, dat
3466 xmlSearchNsPrefixByHref(xmlDocPtr doc, xmlNodePtr node, const xmlChar * href) argument
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c191 TidyDoc doc; member in struct:_PHPTidyDoc
219 static int _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options TSRMLS_DC);
493 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value TSRMLS_DC) argument
495 TidyOption opt = tidyGetOptionByName(doc, optname);
514 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) {
530 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
540 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
558 TidyDoc doc; local
577 doc = tidyCreate();
581 if (tidySetErrorBuffer(doc, errbu
1008 _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options TSRMLS_DC) argument
1179 TidyDoc doc; local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c92 if (intern->doc) {
93 php_libxml_decrement_doc_ref(intern->doc TSRMLS_CC);
94 efree(intern->doc);
127 intern->doc = NULL;
H A Dphp_xsl.h66 php_libxml_node_object *doc; member in struct:_xsl_object
H A Dxsltprocessor.c32 ZEND_ARG_INFO(0, doc)
36 ZEND_ARG_INFO(0, doc)
40 ZEND_ARG_INFO(0, doc)
45 ZEND_ARG_INFO(0, doc)
257 dom_object *domintern = (dom_object *)intern->doc;
275 node = xmlNewDocNode(node->doc, NULL, (char *) node->children, node->name);
277 node = xmlNewDocNode(node->doc, NULL, "xmlns", node->name);
393 /* {{{ proto void xsl_xsltprocessor_import_stylesheet(domdocument doc);
400 xmlDoc *doc = NULL, *newdoc = NULL; local
415 doc
483 xmlDocPtr doc = NULL; local
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c240 if ((node->doc != NULL) && (((xmlAttrPtr) node)->atype == XML_ATTRIBUTE_ID)) {
241 xmlRemoveID(node->doc, (xmlAttrPtr) node);
258 node->doc = NULL;
1288 node->doc = NULL;
1316 /* Safe to call as if the resource were freed then doc pointer is NULL */
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c432 buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)Z_STRVAL_P(value));
988 static inline char * sxe_xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int inLine) /* {{{ */ argument
990 xmlChar *tmp = xmlNodeListGetString(doc, list, inLine);
1014 contents = xmlNodeListGetString(node->doc, node->children, 1);
1127 ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node->children, 1), 0);
1153 ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node, 1), 0);
1673 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
1749 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
2464 if (nodep->doc == NULL) {
2479 php_libxml_increment_doc_ref((php_libxml_node_object *)sxe, nodep->doc TSRMLS_C
[all...]

Completed in 45 milliseconds

12