XML bashing