• Resolved dragonblaze

    (@dragonblaze)


    I’m trying to use the Xpath OR operator but with no success.


    {Attributes/*[starts-with(name(),"Attribute") and ./Name="Desktop" or ./Name="Hybrid (HDD & SSD)"]/Value}

    Is the format correct?

    • This topic was modified 6 years, 5 months ago by dragonblaze.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @dragonblaze

    Looks correct. If it’s not working can you please send us an XML example of the data it’s not working with?

    Thread Starter dragonblaze

    (@dragonblaze)

    Thank you for the reply back but it’s been resolved. Turns out I didn’t use the correct Name value’s and so the search could not find the results. But it’s nice to know I have the correct format and way of thinking.

    • This reply was modified 6 years, 5 months ago by dragonblaze.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Trying to use Xpath OR operator’ is closed to new replies.