You are here

protected function FeedsExXml::getRaw in Feeds extensible parsers 7

Same name and namespace in other branches
  1. 7.2 src/FeedsExXml.inc \FeedsExXml::getRaw()

Returns the raw XML of a DOM node.

Parameters

DOMNode $node: The node to convert to raw XML.

Return value

string The raw XML.

2 calls to FeedsExXml::getRaw()
FeedsExXml::executeSourceExpression in src/FeedsExXml.inc
Executes a single source expression.
FeedsExXml::getInnerXml in src/FeedsExXml.inc
Returns the inner XML of a DOM node.
1 method overrides FeedsExXml::getRaw()
FeedsExHtml::getRaw in src/FeedsExHtml.inc
Returns the raw XML of a DOM node.

File

src/FeedsExXml.inc, line 255
Contains FeedsExXml.

Class

FeedsExXml
Parses XML documents with XPath.

Code

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