admin管理员组文章数量:1327966
While Matching the Xpath Filter to set not to import properties having the city
Gandia , this works but some properties are having Gandía , Jávea. So it is not matching.
Issue seems to be with this í , á characters.
/property[price[1] > 5000 and town[1] != "Jávea" and town[1] != "Calpe" and town[1] != "Elche" and town[1] != "Gandía" and town[1] != "Oliva" and town[1] != "Valencia" and town[1] != "Valle de Albaida"]
While Matching the Xpath Filter to set not to import properties having the city
Gandia , this works but some properties are having Gandía , Jávea. So it is not matching.
Issue seems to be with this í , á characters.
/property[price[1] > 5000 and town[1] != "Jávea" and town[1] != "Calpe" and town[1] != "Elche" and town[1] != "Gandía" and town[1] != "Oliva" and town[1] != "Valencia" and town[1] != "Valle de Albaida"]
Share
Improve this question
edited Jul 16, 2020 at 1:49
fuxia♦
107k38 gold badges255 silver badges459 bronze badges
asked Jul 15, 2020 at 17:46
Ankit PrajapatiAnkit Prajapati
1237 bronze badges
1
- does any body have any solution to this ? – Ankit Prajapati Commented Jul 21, 2020 at 8:15
1 Answer
Reset to default 0Finally I found the solution to this issue on documentation of wp all import
https://www.wpallimport/documentation/troubleshooting/encoding/
If you're sure that your XML file is valid, it's not using UTF-8 encoding, and WP All Import is still rejecting it, try adding this code snippet inside your child theme's functions.php file
add_filter( 'is_xml_preprocess_enabled', 'wpai_is_xml_preprocess_enabled', 10, 1 );
function wpai_is_xml_preprocess_enabled( $is_enabled ) {
return false;
}
本文标签: pluginsI am trying to match the wpallimport using the Xpath Filter
版权声明:本文标题:plugins - I am trying to match the wpallimport using the Xpath Filter 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742223571a2435619.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论