DiDOM Versions Save

Simple and fast HTML and XML parser

1.14

5 years ago
  • Add Element::innerXml() method

1.13

6 years ago
  • Add Element::outerHtml() method
  • Add Element::prependChild() method
  • Add Element::insertBefore() and Element::insertAfter() methods
  • Add Element::style() method for more convenient inline styles manipulation
  • Add Element::classes() method for more convenient class manipulation

1.12

6 years ago
  • Many fixes and improvements

1.11.1

6 years ago
  • Fix bug with unregistered PHP functions in XPath in Document::has() and Document::count() methods

1.11

6 years ago
  • Add Element::isElementNode() method
  • Add ability to retrieve only specific attributes in Element::attributes() method
  • Add Element::removeAllAttributes() method
  • Add ability to specify selector and node type in Element::previousSibling() and Element::nextSibling() methods
  • Add Element::previousSiblings() and Element::nextSiblings() methods
  • Many minor fixes and improvements

1.10.6

6 years ago
  • Fix bug with XML document loading

1.10.5

6 years ago
  • Fix issue #85

1.10.4

6 years ago
  • Use mb_convert_encoding in the Encoder if it is available

1.10.3

6 years ago
  • Add Element::removeChild() and Element::removeChildren() methods
  • Fix bug in Element::matches() method
  • Element::matches() method now returns false if node is not DOMElement
  • Add Element::hasChildren() method

1.10.2

7 years ago
  • Fix bug in setInnerHtml: can't rewrite existing content
  • Throw InvalidSelectorException instead of InvalidArgumentException when selector is empty