Quantcast
Channel: Active questions tagged feeds - Drupal Answers
Viewing all articles
Browse latest Browse all 189

Import data into Select List using using Feeds and the Feeds XML Parser from xml file

$
0
0

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|HouseFlat|FlatParking|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.


Viewing all articles
Browse latest Browse all 189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>