FdomDocument is a PHP library for working with XML and HTML documents efficiently.
Current Version: 1.6.7
Last Updated: 2022-01-25
PHP Requirement: >=5.3.3
Dependencies: None
Package Description
FdomDocument is a powerful library that provides methods for parsing, manipulating, and generating XML and HTML documents in PHP. It offers a user-friendly interface for developers to work with complex document structures effectively and easily.
TheSeer\fDOM\CSS {
/**
* Class Translator
*
* The regular expressions used in this class are heavily inspired by and mostly adopted from
* the css2xpath.js code by Andrea Giammarchi (http://code.google.com/p/css2xpath/).
* The JavaScript version (css2xpath.js) is licensed under the MIT License
*
*/
class Translator {
/**
* @var array
*/
private $rules\Translator
TheSeer\fDOM {
/**
* fDomNode
*
* @category PHP
* @package TheSeer\fDOM
* @author Arne Blankerts
* @access public
* @property fDOMDocument $ownerDocument
*
*/
class fDOMNode extends \DOMNode {
/**
* @return string
*/
public function __toString() {
return $this->C14N()\fDOMNode
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/theseer/fdomdocument/1.6.7/loader.php';
use FdomDocument\FdomDocument;
$obj = new FdomDocument();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.