Top "Domdocument" questions

DOMDocument refers to a class encapsulating the DOM (Document Object Model).

SimpleXML vs DOMDocument performance

I am building an RSS parser using the SimpleXML Class and I was wondering if using the DOMDocument class would …

php performance rss simplexml domdocument
XML Validation against XSD in PHP libxml

I have created an xml like below <Request> <RequestType>Logon</RequestType> <MobileId>23424&…

php xml xsd domdocument libxml2
Using cURL and dom to scrape data with php

Hi i am using cURL to get data from a website i need to get multiple items but cannot get …

php domdocument getelementsbytagname
What is anchorNode , baseNode , extentNode and focusNode in the object returned by document.getSelection?

If I make a selection in a html page and I do : var a = document.getSelection() I get an object …

javascript html google-chrome domdocument
DOMDocument remove script tags from HTML source

I used @Alex's approach here to remove script tags from a HTML document using the built in DOMDocument. The problem …

php html-parsing xss domdocument script-tag
Remove parent element, keep all inner children in DOMDocument with saveHTML

I'm manipulating a short HTML snippet with XPath; when I output the changed snippet back with $doc->saveHTML(), DOCTYPE …

php xpath domdocument
Is there a way to get all of a DOMElement's attributes?

I'm reading some XML with PHP and currently using the DOMDocument class to do so. I need a way to …

php xml dom domdocument
DOMDocument missing in php5.6

I'm attempting to set up a store using opencart which i am honestly very new to. I bought a theme …

php opencart domdocument php-5.6 vqmod
In PHP, using DomDocument getElementByID not working? What am I doing wrong?

Here is a bit of my code... $dom = new DomDocument; $html = $newIDs[0]; $dom->validateOnParse = true; $dom->loadHTML($html); $…

php domdocument getelementbyid nodevalue