Hi,

I am trying to combine xpath fields to create a node tile using the following.

The XPath query to run.
The variables $field_property_type, $locations:street, $field_price, $field_reference are available for replacement.

Variables used
$field_property_type, $locations:street, $field_price, $field_reference

But it returns the error below.

There was an error during the XPath query: Finca, Crevillente, 255000, lperl175.
Libxml returned the message: Invalid expression, with the error code: 1207.
There was an error during the XPath query: Commercial, Torrevieja, 240000, lperl223.
Libxml returned the message: Invalid expression, with the error code: 1207.
There was an error during the XPath query: Apartment, Almoradi, 59000, lperl241.
Libxml returned the message: Invalid expression, with the error code: 1207.

CommentFileSizeAuthor
#1 Screen Shot 2015-04-25 at 15.16.54.png75.95 KBmambotech
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mambotech’s picture

mambotech’s picture

Category: Support request » Bug report
twistor’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Category: Bug report » Support request
Status: Active » Fixed
Issue tags: -xpath

The rewrite functionality is to substitute values in an XPath expression.

Something like this should work. Note the quotes.
concat("$field_property_type", "$locations", "$field_price", "$field_reference")

Feeds Tamper has a rewrite plugin that will make this easier.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

twistor’s picture