Is there anyone who can help me with the following issue?
I have the following xml from an external site, i cannot modify this.
<?xml version="1.0" encoding="ISO-8859-1"?>
KING SOFTWARE/VCN 2WHV 1
1013942-10-201015:0082
WHV 1SPIVO 2
10149511-12-201015:0082
WHV 1PHOENIX 1
10150118-12-201016:0082
WHV 1DVO 1
10102415-1-201116:0082
WHV 1SCHOVOCOMCA 1
I need to store all rows as seperate items, i used //wedstrijden//poule//row as xpath and mapped all content (wednr, datum, tijd, zaal, thuis and uit) to cck fields. This works fine, but i also need to store the value of the attribute 'id' in a cck field. I dont know how to do this obviously if i use //wedstrijden//poule as xpath it wil store all rows as one item and i need seperate.
Any ideas?
Comments
Comment #1
realnerd commentedI think this will make things a lot clearer to understand ;-)
Comment #2
homoludens commentedYou can get attribute value like this:
But I'm not sure if you can save it as separate cck field for every node.
Try and report back.
Comment #3
chrisirhc commentedRight now, this isn't possible in this module. All the data that you want to map must be within each row element match, it cannot be in the parent of the row (like the example in this case).
You might want to take a look at http://drupal.org/project/feeds_xpathparser and see if they support this functionality.