Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an xml feed to import to and mapped to a content type. However, there are fields that are referenced to taxonomy. The fields that are not referenced seems to be working fine and are getting picked up. But those that are referenced to a taxonomy vocabulary are not.

How can I import data from xml from say:

    <!-- ... -->

I want to be able to import propertytype to this content type as 'Apartment' as referenced to a taxonomy vocabulary - Property Types:

Property Types (Taxonomy Vocab)

I've learned that taxonomy referenced fields stores data to a separate table in the database. Does this mean I have to manually do insert query to these tables separately? Or is has anyone encountered the same predicament?

share|improve this question
Are you using the Taxonomy Fields module or only the Taxanomy module? – Pierre Buyle Aug 6 '11 at 16:18
only taxonomy module.. – jan Aug 6 '11 at 16:23

You create taxonomy vocabulary by name property types and attach this to the content type you are using for feeds import. Map the fields accordingly.

  • //properties/item as context
  • propertytype to the term reference field you have attached to the content-type

But remember just create vocabulary and don't add any terms. Once you do feeds import you can see the terms under property type vocabulary.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.