xml construction