From: Jason M. <ko...@gm...> - 2008-08-30 00:05:19
|
BTW, something more, depending on what you use to write your files. There is an "nXML mode" plugin for emacs available that provides syntax competition and verification for any XML format that has a RELAX NG schema for it. And DocBook has such (nXML mode comes with one, but I don't know if it comes with one for v5.0) that can be found as part of the DocBook distribution here: http://www.docbook.org/xml/5.0/. I've always found that one of the best ways to find out what DocBook can do is to let content-completion guide your elements. Also, xmllint is a commandline tool that can be used to verify that an XML file conforms to a particular schema (it supports RELAX NG and a few others). It's error reporting is... somewhat lacking (often, the actual problem element will be not quite in the place it points to, much like C/C++ errors), but it can be useful for detecting problems. |