Aggregation of content in visual representations and XML