sponsor Vim development Vim logo Vim Book Ad

xmlwf.vim : A compiler plugin for the xmlwf xml well-formedness checker

 script karma  Rating 2/2, Downloaded by 844  Comments, bugs, improvements  Vim wiki

created by
Robert Rowsome
 
script type
utility
 
description
xmlwf is a command-line utility for checking whether an xml document is well-formed.  This plugin will enable you to use xmlwf through Vim to check the well-formedness of the xml file you are editing.  Vim will take you right to the errors, if there are any.
 
install details
You must have the xmlwf utility on your system.  I believe it is part of the Expat library.  Copy the file to your compiler directory, usually ~/.vim/compiler/.  To use it, open an xml file and type ":compiler xmlwf".
Then, ":make".  It should take you directly to the first error in the document, if there are any.  Note: the xmlwf.vim file has UNIX line endings, so if you get a bunch of garbage when you try to use it on a windows machine (via cygwin, for example) just save the file with DOS line endings.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
xmlwf.vim 0.2 2012-08-16 6.0 Robert Rowsome Updated my contact info
xmlwf.vim 0.1 2004-07-06 6.0 Robert Rowsome Initial upload
ip used for rating: 18.116.62.45

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github