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.c218 ((nodep->doc != NULL) && (nodep->doc->dict != NULL) &&
219 xmlDictOwns(nodep->doc->dict, nodep->content))) {
H A Ddocument.c868 node->doc = docp;
996 if (nodep->doc == docp) {
1011 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1053 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri);
1118 nsptr = xmlSearchNsByHref(nodep->doc, root, (xmlChar *) uri);
1576 /* encoding handled by property on doc */
1623 if (node->doc != docp) {
2138 if (node->doc != docp) {
H A Ddocumentfragment.c87 static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */ argument
96 prop->doc = doc;
100 php_dom_xmlSetTreeDoc(cur, doc);
110 php_dom_xmlSetTreeDoc(cur, doc);
114 tree->doc = doc;
141 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, (xmlChar *) data, &lst);
147 php_dom_xmlSetTreeDoc(lst, nodep->doc);
H A Ddocumenttype.c182 if (dtdptr->doc != NULL && ((intsubset = xmlGetIntSubset(dtdptr->doc)) != NULL)) {
H A Ddomimplementation.c177 if (doctype->doc != NULL) {
218 doctype->doc = docp;
229 doctype->doc = NULL;
H A Delement.c299 ns = xmlSearchNs(elem->doc, elem, prefix);
346 value = xmlNodeListGetString(attr->doc, attr->children, 1);
514 attrp = xmlNewDocNode(nodep->doc, NULL, (xmlChar *) attrp->children, attrp->name);
516 attrp = xmlNewDocNode(nodep->doc, NULL, (xmlChar *)"xmlns", attrp->name);
557 if (!(attrp->doc == NULL || attrp->doc == nodep->doc)) {
576 if (attrp->doc == NULL && nodep->doc != NULL) {
697 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);
609 docp = nodep->doc;
720 nsnode = xmlDocGetRootElement(nodep->doc);
806 baseuri = xmlNodeGetBase(nodep->doc, nodep);
858 enc_str = xmlEncodeEntitiesReentrant(nodep->doc, (xmlChar *) str->val);
891 if (node->doc != nodep->doc) {
[all...]
H A Dtext.c182 nnode = xmlNewDocText(node->doc, second);
H A Dxpath.c41 ZEND_ARG_OBJ_INFO(0, doc, DOMDocument, 0)
154 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name);
156 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) "xmlns", node->name);
254 /* {{{ proto void DOMXPath::__construct(DOMDocument doc) U */
257 zval *id, *doc; local
265 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_xpath_class_entry, &doc, dom_document_class_entry) == FAILURE) {
271 DOM_GET_OBJ(docp, doc, xmlDocPtr, docobj);
309 docp = (xmlDocPtr) ctx->doc;
380 docp = (xmlDocPtr) ctxp->doc;
394 if (nodep && docp != nodep->doc) {
[all...]
H A Dphp_dom.h113 void dom_set_old_ns(xmlDoc *doc, xmlNs *ns);
H A Dphp_dom.c133 if (node->doc == NULL) {
526 xmlNodePtr cloned_node = xmlDocCopyNode(node, node->doc, 1);
528 /* If we cloned a document then we must create new doc proxy */
529 if (cloned_node->doc == node->doc) {
532 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC);
1298 if (obj->doc != NULL) {
1302 php_libxml_increment_doc_ref((php_libxml_node_object *)intern, obj->doc TSRMLS_CC);
1319 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1424 dom_set_old_ns(xmlDoc *doc, xmlNs *ns) argument
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c241 if ((node->doc != NULL) && (((xmlAttrPtr) node)->atype == XML_ATTRIBUTE_ID)) {
242 xmlRemoveID(node->doc, (xmlAttrPtr) node);
259 node->doc = NULL;
1293 node->doc = NULL;
1321 /* Safe to call as if the resource were freed then doc pointer is 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_str_add_ptr(&ctx->docs, (char*)location, xmlStrlen(location), doc);
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.c535 nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns));
603 xmlDocPtr doc = soap_xmlParseMemory(Z_STRVAL(return_value), Z_STRLEN(return_value)); local
604 if (doc && doc->children) {
605 ret = xmlDocCopyNode(doc->children, parent->doc, 1);
607 xmlFreeDoc(doc);
2502 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2523 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2868 nsptr = xmlSearchNs(data->doc, dat
3366 xmlSearchNsPrefixByHref(xmlDocPtr doc, xmlNodePtr node, const xmlChar * href) argument
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c186 TidyDoc doc; member in struct:_PHPTidyDoc
220 static int _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options TSRMLS_DC);
494 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value TSRMLS_DC) argument
496 TidyOption opt = tidyGetOptionByName(doc, optname);
515 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) {
531 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
541 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
559 TidyDoc doc; local
578 doc = tidyCreate();
582 if (tidySetErrorBuffer(doc, errbu
989 _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options TSRMLS_DC) argument
1145 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);
H A Dphp_xsl.h65 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)
251 dom_object *domintern = (dom_object *)intern->doc;
268 node = xmlNewDocNode(node->doc, NULL, (char *) node->children, node->name);
270 node = xmlNewDocNode(node->doc, NULL, "xmlns", node->name);
388 /* {{{ proto void xsl_xsltprocessor_import_stylesheet(domdocument doc);
395 xmlDoc *doc = NULL, *newdoc = NULL; local
410 doc
477 xmlDocPtr doc = NULL; local
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c426 buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)Z_STRVAL_P(value));
981 static inline zend_string *sxe_xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int inLine TSRMLS_DC) /* {{{ */ argument
983 xmlChar *tmp = xmlNodeListGetString(doc, list, inLine);
1005 contents = xmlNodeListGetString(node->doc, node->children, 1);
1113 ZVAL_STR(&value, sxe_xmlNodeListGetString(node->doc, node->children, 1 TSRMLS_CC));
1138 ZVAL_STR(&value, sxe_xmlNodeListGetString(node->doc, node, 1 TSRMLS_CC));
1663 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
1739 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
2416 if (nodep->doc == NULL) {
2431 php_libxml_increment_doc_ref((php_libxml_node_object *)sxe, nodep->doc TSRMLS_C
[all...]

Completed in 35 milliseconds

12