Alternatively the same application can built an XML document like it is often used for data exchange.