diff options
author | Shane Caraveo <shane@php.net> | 2002-07-07 23:03:43 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2002-07-07 23:03:43 +0000 |
commit | f8875adaab9fe973ab798ead093e21972ed43a13 (patch) | |
tree | d5495bb982d966a5bb42afb20fb80338cccce1f4 /ext/soap/php_xml.h | |
parent | a6d815fb7c98c32a4180e30dfaca316cbeae8912 (diff) | |
download | php-git-f8875adaab9fe973ab798ead093e21972ed43a13.tar.gz |
import php-soap library from sourceforge
Diffstat (limited to 'ext/soap/php_xml.h')
-rw-r--r-- | ext/soap/php_xml.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/soap/php_xml.h b/ext/soap/php_xml.h new file mode 100644 index 0000000000..d17caba007 --- /dev/null +++ b/ext/soap/php_xml.h @@ -0,0 +1,23 @@ +#ifndef PHP_SOAP_XML_H +#define PHP_SOAP_XML_H + +#define get_attribute(node, name) get_attribute_ex(node, name, NULL) +#define get_node(node, name) get_node_ex(node, name, NULL) +#define get_node_recursive(node, name) get_node_recursive_ex(node, name, NULL) +#define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL, attr, val, NULL) +#define get_node_with_attribute_recursive(node, name, attr, val) get_node_with_attribute_recursive_ex(node, name, NULL, attr, val, NULL) +#define attr_is_equal(node, name) attr_is_equal_ex(node, name, NULL) + +xmlNsPtr attr_find_ns(xmlAttrPtr node); +xmlNsPtr node_find_ns(xmlNodePtr node); +int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns); +int node_is_equal_ex(xmlNodePtr node, char *name, char *ns); +xmlAttrPtr get_attribute_ex(xmlAttrPtr node,char *name, char *ns); +xmlNodePtr get_node_ex(xmlNodePtr node,char *name, char *ns); +xmlNodePtr get_node_recurisve_ex(xmlNodePtr node,char *name, char *ns); +xmlNodePtr get_node_with_attribute_ex(xmlNodePtr node, char *name, char *name_ns, char *attribute, char *value, char *attr_ns); +xmlNodePtr get_node_with_attribute_recursive_ex(xmlNodePtr node, char *name, char *name_ns, char *attribute, char *value, char *attr_ns); +int parse_namespace(char *inval,char **value,char **namespace); +xmlNodePtr check_and_resolve_href(xmlNodePtr data); + +#endif |