You are here

protected function XmlParser::getRaw in Feeds extensible parsers 8

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 XmlParser::getRaw()
XmlParser::executeSourceExpression in src/Feeds/Parser/XmlParser.php
Executes a single source expression.
XmlParser::getInnerXml in src/Feeds/Parser/XmlParser.php
Returns the inner XML of a DOM node.
1 method overrides XmlParser::getRaw()
HtmlParser::getRaw in src/Feeds/Parser/HtmlParser.php
Returns the raw XML of a DOM node.

File

src/Feeds/Parser/XmlParser.php, line 322

Class

XmlParser
Defines a XML parser using XPath.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

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