Lines Matching refs:element
323 public function toXhtml(DOMElement $element = null): string
325 return $this->toXml($element);
328 public function toXml(DOMElement $element = null): string
331 if ($element === null) {
332 $element = $this->getDomDocument()->documentElement;
339 $element,
451 // the namespace axis contains the namespace nodes of the context node; the axis will be empty unless the context node is an element
570 * because even if the dom element has the attribute, the value
603 public function toXmlFormatted(DOMElement $element = null): string
607 return $this->toXml($element);
619 public function toXmlNormalized(DOMElement $element = null): string
638 if ($element == null) {
639 $element = $this->domDocument->documentElement;
641 $element->normalize();
642 return $this->toXmlFormatted($element);
691 LogUtility::msg("Not able to delete the attribute $attributeName of the node element $nodeElement->tagName in the Xml document");
708 throw new ExceptionNotFound("No element was found with the selector $selector");
769 $element = $this->domDocument->createElement($localName);
770 return XmlElement::create($element, $this);
784 throw new ExceptionBadState("The first DOM node is not a DOM element");