<?xml version="1.0" encoding="gb2312" ?>
<allGreen>
<green>
<ID>1</ID>
<X>121.55443</X>
<Y>31.18068</Y>
<NAME> abc</NAME>
<HSNUM>108</HSNUM>
</green>
<green1>
<ID>2</ID>
<X>121.5067</X>
<Y>31.18833</Y>
<NAME>yyy</NAME>
<HSNUM>3683</HSNUM>
</green1>
<green2>
<ID>2</ID>
<X>121.5067</X>
<Y>31.18833</Y>
<NAME> hahha</NAME>
<HSNUM>3683</HSNUM>
<STREET>heheh</STREET>
</green2>
</allGreen>
thi is the test.xml
howto Fuzzy search the one of the NAME value? uses xpath contains? or xpath matches? /allGreen//NAME ? like this?
my english is poor , i mean fuzzy search the name value for example, i fuzzy search use xpath the string "abc" ? how to do that?