add logic in ReliableXpathGenerator.(still not finish)

add logic to support get xpath by parent.