Format Using Python String Methods Contains In Xpath