So what do I need hearing it for ?
I just answered the guy (what he needed was help, not punches & slaps from
wiseguys).
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> >Well, I've, and I also have to say that the XML-support in PHP lacks
> >any usability
>
Well, I've, and I also have to say that the XML-support in PHP lacks
any usability…
I am sorry to say this but the above comments indicates a lack of
understanding about xml, xml parsing and PHP. The php xml parser is
based on expat. expat was written by james clark a person who worked on
some
Maybe this will help. Just made it (nedded it myself) and I saw your post.
parser = xml_parser_create();
xml_set_object($this->parser, $this);
xml_parser_set_option($this->parser, XML_OPTION_CASE_FOLDING, 0);
xml_set_element_handler($this->parser, 'startElement', 'endElement');
The 'sample.xml' file:
1234
3,4
kg
12345
3,1
t
"Victor spång arthursson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
2003-11-17 kl. 17.06 skrev Chris Hayes:
>> Need to read a xml-file into an array, but searching around I havent
>> found a
Maybe this will help. I just made it:
class XMLParser {
var $depth = 0;
var $parser;
var $text;
var $cdata = array();
function XMLParser() {
$this->parser = xml_parser_create();
xml_set_object($this->parser, $this);
xml_parser_set_option($this->parser, XML_
Victor Spång Arthursson wrote:
2003-11-17 kl. 17.06 skrev Chris Hayes:
Need to read a xml-file into an array, but searching around I havent
found a way that's easy and simple… Arent there an easy way in PHP to
accomplish this?
have you been at http://se.php.net/xml ?
Well, I've, and I also
2003-11-17 kl. 17.06 skrev Chris Hayes:
Need to read a xml-file into an array, but searching around I havent
found a way that's easy and simple… Arent there an easy way in PHP to
accomplish this?
have you been at http://se.php.net/xml ?
Well, I've, and I also have to say that the XML-support in
At 15:47 17-11-03, you wrote:
Hi!
Need to read a xml-file into an array, but searching around I havent found
a way that's easy and simple
Arent there an easy way in PHP to accomplish
this?
have you been at http://se.php.net/xml ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Hi!
Need to read a xml-file into an array, but searching around I havent
found a way that's easy and simple… Arent there an easy way in PHP to
accomplish this?
Sincerely
Victor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo