This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
You use or conceive this path for a reason. What is that? If you want to show a sample to illustrate the need, the sample must reflect the differential aspect of the problem. You have className everywhere same abcd, you have attrID the same in each block. What are their characteristics that make them appropriate for the differentiation of different blocks?
Joined: Aug 20, 2011
so the classname can be same same for many blocks, so i can not make xpath based on classname only, i will need to put some more conditions, which i did in my posted xpath.
and the reason i used attrID is that this attrID would be unique for that block which i want to delete.
this xpath will give me a element from the block which i want to delete and using this is can delete that element, but the problem is i need to delete the entire block not this element only.