XPATH remove attribute

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-03-14T22:02:43Z Indexed on 2010/03/14 22:05 UTC
Read the original article Hit count: 165

Filed under:

Hi does anyone know hwo to remove an attrbute using xpath. In particular the rel attribute and its text from a link. i.e. <a href='http://google.com' rel='some text'>Link</a> and i want to remove rel='some text'.

There will be multiple links in the html i am parsing.

© Stack Overflow or respective owner

Related posts about xpath