Added support for accessing values from xml