You are here

protected function FeedsExXml::getInnerXml in Feeds extensible parsers 7

Returns the inner XML of a DOM node.

Parameters

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

Return value

string The inner XML.

1 call to FeedsExXml::getInnerXml()
FeedsExXml::executeSourceExpression in src/FeedsExXml.inc
Executes a single source expression.

File

src/FeedsExXml.inc, line 268
Contains FeedsExXml.

Class

FeedsExXml
Parses XML documents with XPath.

Code

protected function getInnerXml(DOMNode $node) {
  $buffer = '';
  foreach ($node->childNodes as $child) {
    $buffer .= $this
      ->getRaw($child);
  }
  return $buffer;
}