Added support to initialize and get values using xpath