I need to parse XML attributes via Feeds Importer XPath parsermy paarser settings

exitsting XML tag structure is:

<MunicipalUnion Id="2a1c7bdb-05ea-492f-9e1c-b3999f79dcbc" Name="Moscow" TypeMU="city"/>

If i write @Id, @Name, @TypeMU, result is: enter image description here

  • Not sure if it will work, but maybe you should try /RaionResponse/MunicipalUnions as your context and /MunicipalUnion/@Id, /MunicipalUnion/@Name, /MunicipalUnion/@TypeMU as your queries – Jelle Dec 5 '14 at 9:22
  • no this doesn't work – BKI Dec 5 '14 at 10:39
  • Вы смогли настроить импорт? как должны выглядеть правильно заполненные поля? – Евгений Шевцов Aug 11 '17 at 16:55

Solution is: using Xpath string() function




enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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