scala xml processing example