add xml snippets.