XML: variable definitions in text data instead of attribute

fixes #251