xml - XPath to select nodes with certain name or attribute value -


i want remove footer section html source.

consider following cases,

<div id="footer">blabla</div> 

or

<div class="footer">blabla</div> 

or

<footer>blablabla</footer> 

how can match above cases using xpath?

i come this:

//*[contains(lower-case(@*),'footer')] | //footer 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -