Re: [PHP] Re: extracting data from XML file to PHP variable ..

2004-03-31 Thread Jason Barnett
Hmmm, that looks interesting. On another note, I've made a simple parse based on PEAR's XML_Parser that parses an entire XML tree into associative arrays. Feel free to use it. http://www.reversefold.com/~papercrane/XML_Parser_Assoc/Assoc.phps I haven't used that class before, or else I probabl

Re: [PHP] Re: extracting data from XML file to PHP variable ..

2004-03-31 Thread Justin Patrin
Jason Barnett wrote: Kenn Murrah wrote: Jason: Yes, I am aware of the problem. However, for the very simple XML files that I'm being asked to process, it's not an issue -- each file has, for example, one and only one occurrence of "fullname" So, while I realize that any solution I achie

Re: [PHP] Re: extracting data from XML file to PHP variable ..

2004-03-31 Thread Jason Barnett
Kenn Murrah wrote: Jason: Yes, I am aware of the problem. However, for the very simple XML files that I'm being asked to process, it's not an issue -- each file has, for example, one and only one occurrence of "fullname" So, while I realize that any solution I achieve for this project wi

Re: [PHP] Re: extracting data from XML file to PHP variable ..

2004-03-31 Thread Kenn Murrah
Jason: Yes, I am aware of the problem. However, for the very simple XML files that I'm being asked to process, it's not an issue -- each file has, for example, one and only one occurrence of "fullname" So, while I realize that any solution I achieve for this project will have virtually n

[PHP] Re: extracting data from XML file to PHP variable ..

2004-03-31 Thread Jason Barnett
Kenn Murrah wrote: Greetings. I've been RTFM all morning and for the live of me can't figure out how to relate the element name to its data, e.g. if the element name is "fullname" and the data is "John Doe' how do I achieve $fullname = "John Doe" I must not be understanding how xml_parse wor