Feeds Node processor mapping I want to import XML data from a remote server. The Feeds module has to interact with an API that outputs the data in a XML format where the actual content is in JSON format. Here's an example of the XML file:

&lt;serverResponse&gt;
  &lt;status statusCode="0"&gt;OK&lt;/status&gt;
    &lt;messages&gt;
      &lt;user/&gt;
      &lt;tech/&gt;
      &lt;alert header="_*Alert*_"/&gt;
    &lt;/messages&gt;
  &lt;content&gt;
    {"appointmentSet":[{"appts":[]}],"bookingAllowed":false,"maxBookAheadPeriod":25}
  &lt;/content&gt;
&lt;/serverResponse&gt;


What I try to achieve is to let the Feeds module grab the &lt;content&gt; data and put it in a node text field. Then I want to use the drupal_json_decode function to decode the JSON data in readable text.

In my XML Xpath parser settings I've used //content for the Context value. But I've no idea what to do with the processor mapping. Can someone please help me? Does the Node processor mapping require a unique identifier for the GUID or is this not mandatory?
Does the Node processor mapping require a unique identifier for the GUID or is this not mandatory?
You do not need to have a unique identifier to import data, but you might get duplicate data if you do not use a unique identifier.  From your question I assume you are interacting with the API in the feeds fetcher. Can you get &quot;duplicate&quot; results when using the API? Or, is each import ALWAYS  creating new nodes?
Xpath
Use //content/text() to return the json text {&quot;appointmentSet&quot;:[{&quot;appts&quot;:[]}],&quot;bookingAllowed&quot;:false,&quot;maxBookAheadPeriod&quot;:25}