xpath select parent node based on child with class code example Example: Xpath select Parent Node Based On Child Node //childNode/parent::ParentNode