Updated the DocBook XML snippets.
Ensured that the last %cursor% is always placed at the end.