Semantic lossy compression of XML data