I have to import some data from a xml document.
I’m usuing the https://www.drupal.org/project/feeds and the https://www.drupal.org/project/feeds_xpathparser modules.
I have other fields which get the data with no problem at all. But I can’t get a Select list to get the data from the xml.
XML LOOKS LIKE
<properties> <property> <type>House</type> </property> <property> <type>Flat</type> </property> <property> <type>Parking</type> </property> </properties>
INFO OF THE field “Type” WHICH GET THE DATA:
Type:
List (text)
Control:
Selection List
Allowed values list:
House|House Flat|Flat Parking|Parking
THEN, IN THE FEED IMPORT SETTINGS:
-MAPPING: add the xpathparser selecting the field "Type" -XPHATH XML PARSER - Settings: set the XPath for the field to "Type"
As far as I see everything is all right, but it doesn’t work.
I have other fields in the same importer which get the data with no problem at all.