[phpXML] Forget my stupid question (Re: [phpXML] [HELP !] Feeding
Brought to you by:
bs_php,
nigelswinson
From: <lu...@sa...> - 2001-10-08 15:21:56
|
Hello, Please forget my previous post, the answer is : $file = 'foo.xml'; $xml_data = $tpl->fetch($file); $xml = new XML(); // without mention if the file $xml->load_string ($xml_data); Luc At 18:55 24/07/01 +0000, lu...@sa... wrote: >Hello, > >void XML ([string $file]) loads a file. > >How to process a XML stream coming from another processing ? > >I need to do something like : > >$file = 'foo.xml'; >$xml_data = $tpl->fetch($file); >$xml = new XML($xml_data); > >But this fails... I don't find in the doc a constructor taking a XML file >as a string as argument. > >Thanks in advance > >Luc -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |