Re: [PHP] Advise on parsing XML

2004-08-05 Thread CD Baby
> I'm writing an xml parser.

Gerard - 

All of that stuff has already been taken care of for you.  Hundreds of
hours have gone into developing GREAT xml parsers!

http://www.php.net/dom
and
http://www.php.net/simplexml

They take care of the utf-8 decoding and all of that.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] easiest way to CREATE XML with PHP5?

2004-07-17 Thread CD Baby
I see all these articles and tutorials about reading and parsing XML files.

But what about creating and writing XML files with PHP5?

Is the DOM the only way?
It seems like such a bloated overkill.
I just want to make simple little XML files like this:



  Pink Floyd
   Dark Side of the Moon
   
 
   Comfortably Numb
   4:32
 
 
   Some Other Song Title
   6:15
 
   




Any suggestions?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: easiest way to CREATE XML with PHP5?

2004-07-18 Thread CD Baby
Answered my own question:  XML_Serializer
http://pear.php.net/manual/en/package.xml.xml-serializer.php

Good stuff.  Nice and easy.  Feed it an assoc. array and away it goes.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php