html - Extracting a number from an XML node -


the best (so far) xpath extract following node:

<li class="list-guests">&#13; <span class="icon guests"/>&#13; 3&#13; </li> 

i need extract number 3. there way in xpath? don't want start using complicated regex if can avoid it.

you should able use text() function


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -