Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged xml



1 2 Next »
the LIBXML parameter is what this snippet is about. Also this is one way to retrieve XML without having a XML-declaration prepended <?xml>
1 87 posted 10 years ago by iroybot
0 105 posted 10 years ago by Mosaic
1 213 posted 10 years ago by ginoplusio
This is the beginning of my retrieval of twitter status class...just something im playing with right now. It retrieves the xml, saves it on your server, then you can either use javascript or php to traverse the xml tree.
0 99 posted 10 years ago by alvincrespo
i could put a demo of this in action if you want
0 150 posted 10 years ago by abbey
Because htmlentities just doesn't cut it. Recently needed this to work with 3rd part software, ended up having to make it pretty robust so thought I'd share!
0 82 posted 10 years ago by dom111
Some valid UTF-8 characters are illegal in XML: http://www.w3.org/TR/REC-xml/#charsets This statement strips them from your strings.
0 306 posted 10 years ago by jdbartlett
Manipulates XML nodes using PHP's Dom library. Includes XPath navigation, child manipulation, and deletion of current document.
0 86 posted 11 years ago by mikeevans
Convenience function to set a SimpleXMLElement's attributes quickly.
0 73 posted 11 years ago by iloveitaly
This class can be used to parse and extract values of properties defined in XML files in the format specified by Sun Microsystems. It can take the path, file name and language of a XML properties file and parses it. The class makes available th...
1 100 posted 11 years ago by hasantayyar
Export entire database schema to local xml file.
1 116 posted 11 years ago by jonniespratley
your database needs id, bezeichner and parent fields
1 84 posted 11 years ago by antpaw
this will give you a lovely RSS. Im sure you will need to edit the database stuff and row names
5 133 posted 11 years ago by antpaw
0 67 posted 11 years ago by calvin
simple :)
7 127 posted 11 years ago by antpaw
This is a simple example of how to read and write XML that includes reading attributes and nodes.
1 105 posted 12 years ago by donkeykong
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2 142 posted 12 years ago by Nils
Was fiddling around at work one day thought this might be useful.
9 580 posted 13 years ago by djdykes
Often PHP can't interpret POST data because it is not form-encoded. This is typical when the post data is XML from API's like Flash's XmlSocket. You can use the following methods to read the POST data directly.
1 222 posted 14 years ago by mthorn
1 2 Next »