Fixed issues with XML and XMLList.
    Xml.attribute() should return an empty XML list if the attribute does not exist (and not null).
    XMLList.toString() should return an empty string if it is empty (and not null).
Make getDefinitionByName() work with "String" and "Number".