I am using xml to store data. One of my attributes allows the user to set the datatype. How would I convert that string value to a datatype?