Questions tagged [simpledom]

A bridge between SimpleXML and the DOM extension, plus a bunch of convenience methods

SimpleDOM is built upon SimpleXML and acts as a bridge providing DOM methods using SimpleXML's syntax. It also adds a bunch of convenience methods.

SimpleDOM is a single file with no dependencies. All you need to use it is include it and create SimpleDOM objects instead of SimpleXMLElement objects, or simply use simpledom_load_string() instead of simplexml_load_string().

URL: http://code.google.com/p/simpledom/

77 questions
0
votes
3 answers

foreach loop and unexpected else in php when using html dom parser

I have write a code to use html simple dom parser, here it is : array( 'header'=>"User-Agent:Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0…
0
votes
2 answers

Use simple dom to get select by name

I'm trying to use simple dom to get an element by name It's to crawl an old website and they only use name