public function EasyRdf_Literal_XML::domParse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/XML.php \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
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ XML.php, line 65
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;
}