cleaner xml parsing; attributes from xml to mesh