group-by-instances in toXml().
2 files changed