Read instances from xml and write them to xml. You'll normally not use this package directly, use Instance.toXml and Instance.fromXml instead.
XML attributes are *not* used to 1) keep the format as simple, and to 2) keep changing the cardinality smooth: attribute cannot have a cardinality > 1, elements can have any cardinality.