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? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -