You are here

protected function QueryPathHtmlParser::getRawValue in Feeds extensible parsers 8

Returns the raw value.

Parameters

\QueryPath\DOMQuery $node: The DOMQuery object to return a raw value for.

Return value

string A raw string value.

Overrides QueryPathXmlParser::getRawValue

File

src/Feeds/Parser/QueryPathHtmlParser.php, line 40

Class

QueryPathHtmlParser
Defines a HTML parser using QueryPath.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

protected function getRawValue(DOMQuery $node) {
  return $node
    ->html();
}