[phpXML] Re:NEWBIE: How to parse an XML string
Brought to you by:
bs_php,
nigelswinson
From: <lu...@sa...> - 2001-10-08 13:31:17
|
Boulat, Version 1 has a fucntion to load a string : $xml->load_string ($mywonderfullstring); You can get it from : http://sourceforge.net/projects/phpxmldb Luc NAt 19:54 19/09/01 +0000, bo...@fi... wrote: >Hi, > >Im trying to understand how to use phpxml library >for parsing xml documets. > >The problem is, I have an xml document that is stored in >database. It is not stored in a file. Im able to >retrive it from db into a string. However I >dont know how to parse that string using phpxml. > >You have a load_file function that reads a file and >parses the XML data. In my case I need the same thing to be >done, the only problem is I dont have a file with xml >I have a string. So how do I parse a string using your phpxml library? >Note: the xml tags in that string are unknown and can be arbitrary. >I need to parse it into a structure. > >Regards, >Boulat -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |