public function EasyRdf_Literal_XML::domParse

Parse the XML literal into a DOMDocument

@link http://php.net/manual/en/domdocument.loadxml.php

Return value

object DOMDocument

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/XML.php, line 66

Class

EasyRdf_Literal_XML
Class that represents an RDF Literal of datatype rdf:XMLLiteral

Code

public function domParse() {
  $dom = new DOMDocument();
  $dom
    ->loadXML($this->value);
  return $dom;
}