summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-02-04 14:46:12 +0000
committerDmitry Stogov <dmitry@php.net>2004-02-04 14:46:12 +0000
commit9fa7d1c24aa8dd6130179da2eb2e0b37b6e4fd8d (patch)
tree4066be9017b4609b6de1f903aad3ddbfec69d11f /ext/soap/php_xml.h
parent3df50001e132d2c634cebb2c336654c3211dac44 (diff)
downloadphp-git-9fa7d1c24aa8dd6130179da2eb2e0b37b6e4fd8d.tar.gz
SOAP Headers was implemented (near complete)
Diffstat (limited to 'ext/soap/php_xml.h')
-rw-r--r--ext/soap/php_xml.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/soap/php_xml.h b/ext/soap/php_xml.h
index eb34d2db11..9616e163ae 100644
--- a/ext/soap/php_xml.h
+++ b/ext/soap/php_xml.h
@@ -48,26 +48,28 @@ void *php_stream_xmlIO_open_wrapper(const char *filename);
int php_stream_xmlIO_read(void *context, char *buffer, int len);
int php_stream_xmlIO_close(void *context);
-#define FOREACHATTRNODE(n,c,i) \
+#define FOREACHATTRNODE(n,c,i) FOREACHATTRNODEEX(n,c,NULL,i)
+#define FOREACHATTRNODEEX(n,c,ns,i) \
do { \
if (n == NULL) { \
break; \
} \
if (c) { \
- i = get_attribute(n,c); \
+ i = get_attribute_ex(n,c,ns); \
} else { \
i = n; \
} \
if (i != NULL) { \
n = i;
-#define FOREACHNODE(n,c,i) \
+#define FOREACHNODE(n,c,i) FOREACHNODEEX(n,c,NULL,i)
+#define FOREACHNODEEX(n,c,ns,i) \
do { \
if (n == NULL) { \
break; \
} \
if (c) { \
- i = get_node(n,c); \
+ i = get_node_ex(n,c,NULL); \
} else { \
i = n; \
} \