Title: Several xml feed params (same param,different name)
Last modified: February 13, 2021

---

# Several xml feed params (same param,different name)

 *  Resolved [khvoroffski](https://wordpress.org/support/users/khvoroffski/)
 * (@khvoroffski)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/several-xml-feed-params-same-paramdifferent-name/)
 * Hi!
    I have xml feed like this
 *     ```
       <offer id="43941" available="true" type="simple" sku="31-14799" parent_id="43949">
               <price>483</price>
               <currencyId>USD</currencyId>
               <categoryId type="Own">373</categoryId>
               <stock>5</stock>
               <picture>https://www.blablabla.com/blabla.jpg</picture>
               <name>Scoyco Pm01</name>
               <vendor>SCOYCO</vendor>
               <description>bla bla bla.</description>
               <param name="Brand">SCOYCO</param>
               <param name="Country of manufacture">China</param>
               <param name="Brand country">China</param>
               <param name="sku">PM01 BLACK</param>
               <param name="Main color">Black</param>
               <param name="Material">No</param>
             </offer>
       ```
   
 * I want to import all of the params as attributes, but in different offers order
   of those params are different, so i was reffering to [this link](https://wordpress.org/support/topic/attributes-as-child-xml-elements/)
   and tried like this {param[./@Name = “Brand”]} , but had no luck.
    Could you 
   please give me advise how to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [khvoroffski](https://wordpress.org/support/users/khvoroffski/)
 * (@khvoroffski)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/several-xml-feed-params-same-paramdifferent-name/#post-14045063)
 * its working when i test some thru xpath test, for example this
    `//param[@name
   ='Material']/text()` gives me correct result, but doesn`t work in wp all import
   attributes
 *  Thread Starter [khvoroffski](https://wordpress.org/support/users/khvoroffski/)
 * (@khvoroffski)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/several-xml-feed-params-same-paramdifferent-name/#post-14045152)
 * Solved with this link [https://gist.github.com/trey8611/7b6e79e6610f9d2b06257fb570f05e03](https://gist.github.com/trey8611/7b6e79e6610f9d2b06257fb570f05e03)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Several xml feed params (same param,different name)’ is closed to new
replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [khvoroffski](https://wordpress.org/support/users/khvoroffski/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/several-xml-feed-params-same-paramdifferent-name/#post-14045152)
 * Status: resolved