You are here

protected function FeedsXPathParserXML::getRaw in Feeds XPath Parser 7

Same name and namespace in other branches
  1. 6 FeedsXPathParserXML.inc \FeedsXPathParserXML::getRaw()

Helper callback to return the raw value.

Parameters

DOMNode $node: The DOMNode to convert to a string.

Return value

string The string representation of the DOMNode.

Overrides FeedsXPathParserBase::getRaw

File

./FeedsXPathParserXML.inc, line 55
s Contains FeedsXPathParserXML.

Class

FeedsXPathParserXML
XPath parsing for XML.

Code

protected function getRaw(DOMNode $node) {
  return $this->doc
    ->saveXML($node);
}