Top "Domdocument" questions

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

How do I remove namespaces from xml, using java dom?

I have the following code DocumentBuilderFactory dbFactory_ = DocumentBuilderFactory.newInstance(); Document doc_; DocumentBuilder dBuilder = dbFactory_.newDocumentBuilder(); StringReader reader = new StringReader(s); …

java xml dom domdocument xml-namespaces
How to delete element with DOMDocument?

Is it possible to delete element from loaded DOM without creating a new one? For example something like this: $dom = …

php domdocument
Disable warnings when loading non-well-formed HTML by DomDocument (PHP)

I need to parse some HTML files, however, they are not well-formed and PHP prints out warnings to. I want …

php html warnings domdocument
Parse HTML with PHP's HTML DOMDocument

I was trying to do it with "getElementsByTagName", but it wasn't working, I'm new to using DOMDocument to parse HTML, …

php html parsing domdocument
How to replace the text of a node using DOMDocument

This is my code that loads an existing XML file or string into a DOMDocument object: $doc = new DOMDocument(); $doc-&…

php xml rss domdocument nodes
PHP DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseEntityRef: no name in Entity

I trying to get the "link" elements from certain webpages. I can't figure out what i'm doing wrong though. I'm …

php html-parsing domdocument
Extract DOM-elements from string, in PHP

Possible Duplicates: crawling a html page using php? Best methods to parse HTML I have one string-variable in my php-script, …

php html string domdocument
php domdocument get node value where attribute value is

Say my XML looks like this: <record> <row name="title">this item</row> <…

php attributes domdocument nodevalue
Using PHP DOM document, to select HTML element by its class and get its text

I trying to get text from div where class = 'review-text', by using PHP's DOM element with following HTML (same structure) …

php html domdocument
Why does cURL return an empty string?

I'm having a problem with PHP's cURL returning an empty string with some URL's. I'm trying to parse the OG …

php curl domdocument