Title: Use Multiple Element In Xpath Function
Last modified: October 8, 2022

---

# Use Multiple Element In Xpath Function

 *  Resolved [ibrahimpak](https://wordpress.org/support/users/ibrahimpak/)
 * (@ibrahimpak)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/use-multiple-element-in-xpath-function/)
 * First of all, I would like to thank the team that created the most comprehensive
   Wp All Import plugin on the WordPress base.
 * I want to use multiple elements on a function.
 * **Xml Elements**
 *     ```
       <subCategory>Köpek</subCategory>
       <kategorialt>Köpek Bakım Sağlık</kategorialt>
       ```
   
 * **Xpath Function**
 *     ```
       [category_replace(array({subCategory[1]},{kategorialt[1]}))]
       ```
   
 * **Output**
 *     ```
       -Array
       ```
   
 * Any ideas or advice on where I went wrong?
 * Thank you!
    -  This topic was modified 3 years, 7 months ago by [ibrahimpak](https://wordpress.org/support/users/ibrahimpak/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [ibrahimpak](https://wordpress.org/support/users/ibrahimpak/)
 * (@ibrahimpak)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/use-multiple-element-in-xpath-function/#post-16081885)
 * Your [this post](https://wordpress.org/support/topic/import-custom-field-values/#post-12281013)
   help me, thank you!

Viewing 1 replies (of 1 total)

The topic ‘Use Multiple Element In Xpath Function’ 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/)

## Tags

 * [elements](https://wordpress.org/support/topic-tag/elements/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [xpath](https://wordpress.org/support/topic-tag/xpath/)

 * 1 reply
 * 1 participant
 * Last reply from: [ibrahimpak](https://wordpress.org/support/users/ibrahimpak/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/use-multiple-element-in-xpath-function/#post-16081885)
 * Status: resolved