Q:

Xpath with specific child and parent Classes

Suppose the following HTML
< div class="entry" >
    < div class="partial_entry" >
    Hello
    < /div>
< /div> 

I want to select Hello using Xpath...Select all elements with class partial_entry  where parent is of class entry..

A:

Try this:
    //div[@class='entry']/div[@class='partial_entry']/text()

