There are a number of pieces of software out there that will pretty-print the XML for you, with indenting and whatnot. Overly indented for what you would want in production but decent for debugging mismatching nesting and the like.
For example, 'xmllint --format' will properly indent the file, etc. I don't know how it will handle poorly formed XML. GUI editors can do wonders as well. On Windows I use Notepad++ and manually set it to display XML. gEdit and Geany - I believe - both support similar display worlds. And there are some plugins for Eclipse that might handle what you need as well. --Greg On Thu, Sep 20, 2012 at 4:19 PM, Karl Kleinpaste <k...@kleinpaste.org> wrote: > Andrew Thule <thules...@gmail.com> writes: >> One of my least favour things is finding mismatched tags in OSIS.xml files > >> Has anyone successfully climbed this summit? > > XEmacs and xml-mode (and font-lock-mode). M-C-f and M-C-b execute > sgml-forward-element and -backward-. That is, sitting at the beginning > of <tag>, M-C-f (meta-control-f) moves forward to the matching </tag>, > properly handling nested tags. > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page