Trying a new approach on handling XML