Cast XML values to String in searchChildren