Get the value as a CLI object of the nearest equivalent type.
The return type is as follows:
xs:string - String
xs:integer - Long
xs:decimal - Decimal
xs:double - Double
xs:float - Float
xs:boolean - Bool
xs:QName - QName
xs:anyURI - Uri
xdt:untypedAtomic - String
Other types - currently String, but this may change in the future