From a49eb0bdaa624ca89bde36a776f3a1dfe6906c6a Mon Sep 17 00:00:00 2001 From: cookie Date: Tue, 15 Nov 2005 16:22:35 +0000 Subject: umgestellt auf xcal git-svn-id: svn://svn.cccv.de/engel-system@51 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/funktion_xml.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'www-ssl/inc/funktion_xml.php') diff --git a/www-ssl/inc/funktion_xml.php b/www-ssl/inc/funktion_xml.php index 41a18503..089d89ff 100755 --- a/www-ssl/inc/funktion_xml.php +++ b/www-ssl/inc/funktion_xml.php @@ -18,6 +18,7 @@ $XMLpos = array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); function convertValues( $Data) { + global $XMLDEBUG; if( $XMLDEBUG) { $Data = htmlspecialchars($Data); @@ -101,6 +102,8 @@ function character_data_handler($parser, $data) /*#######################################################################################*/ function readXMLfile( $file ) { + global $XMLDEBUG; + //$xml_parser = xml_parser_create_ns(); $xml_parser = xml_parser_create("UTF-8"); xml_set_element_handler($xml_parser, "start_element_handler", "end_element_handler"); @@ -137,4 +140,10 @@ function getXMLsubPease( $Sourse, $Name ) // die; } +/*#######################################################################################*/ +function getXMLsubData( $Sourse, $Name ) +{ + $XML = getXMLsubPease( $Sourse, $Name); + return $XML->data; +} ?> -- cgit v1.2.3-70-g09d2