[geeklog-cvs] Geeklog-1.x/system lib-webservices.php,1.10,1.11

Dirk Haun dhaun at qs1489.pair.com
Mon Sep 17 16:11:55 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv59389/system

Modified Files:
	lib-webservices.php 
Log Message:
Pick up the names of child nodes (e.g. for <app:control><app:draft>)


Index: lib-webservices.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-webservices.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** lib-webservices.php	17 Sep 2007 20:00:33 -0000	1.10
--- lib-webservices.php	17 Sep 2007 20:11:52 -0000	1.11
***************
*** 474,478 ****
                          } elseif ($child_node->nodeType == XML_ELEMENT_NODE) {
                              if ($child_node->firstChild->nodeType == XML_TEXT_NODE) {
!                                 $args[$node->localName][] = $child_node->firstChild->nodeValue;
                              }
                          }
--- 474,478 ----
                          } elseif ($child_node->nodeType == XML_ELEMENT_NODE) {
                              if ($child_node->firstChild->nodeType == XML_TEXT_NODE) {
!                                 $args[$node->localName][$node->firstChild->localName] = $child_node->firstChild->nodeValue;
                              }
                          }




More information about the geeklog-cvs mailing list