it is better to use editors which are specialized for XML, or
even for DocBook editing, because you can get:
syntax highlighting
schema driven markup completion
validation
WYSIWYG-like editing
preinstalled DocBook schema
preinstalled DocBook stylesheets