Hi everyone!
First of all i am new in XML (I have some basic knowledge). I have got a project where I have to change an XML. Do I have to install some libraries to use XML command in PHP? Where can I find description about php and XML?
Thank you!
Change the XML with PHP
Moderator: General Moderators
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
http://www.php.net/manual/ref.xml.php has some information although I would recommend a google search for PHP XML.
One of the questions you need to ask yourself however is are you needing to "parse" XML or just modify it. If all you need to do is modify it you would be better in my opinion to look at regular expression. (preg_match and it's family) as well as file handling.
All the best.
One of the questions you need to ask yourself however is are you needing to "parse" XML or just modify it. If all you need to do is modify it you would be better in my opinion to look at regular expression. (preg_match and it's family) as well as file handling.
All the best.