editor: extracting metadata from xml