objective c - XPath expression doesn't match "%20" on iOS -


i'm having problem while looking string %20 in xml using xpath. i'm trying match string this:

 <navmap>     ...     <navpoint id="navpoint-2" playorder="3">         <navlabel>             <text>title</text>         </navlabel>         <content src="my%20book%20ok.xhtml"/>     </navpoint>     ... </navmap> 

this query:

//ncx:content[@src='my%20book%20ok.xhtml']/../ncx:navlabel/ncx:text 

it works elements @src not containing %20, not 1 given above.

//content[contains(@src,'%20')] 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -