private function OutputRules::getXPath in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php \Masterminds\HTML5\Serializer\OutputRules::getXPath()
1 call to OutputRules::getXPath()
- OutputRules::nonBooleanAttribute in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php
File
- vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php, line 411 - The rules for generating output in the serializer.
Class
- OutputRules
- Generate the output html5 based on element rules.
Namespace
Masterminds\HTML5\SerializerCode
private function getXPath(\DOMNode $node) {
if (!$this->xpath) {
$this->xpath = new \DOMXPath($node->ownerDocument);
}
return $this->xpath;
}