Setting up XML fragments