add xpath comparison

Change-Id: I310ffa97f667fd5e12f8e141b2c7ff8bc635fc5c