Is there a command that can be run from a cygwin shell to print out an xml file with color highlighting?
Is there a command that can be run from a cygwi开发者_开发知识库n shell to print out an xml file with color highlighting?
Use gvim!
If on first editing the file it appears in plain black and white, select 'XML' from the syntax menu.
Play with the 'Edit'->'Color Scheme' menu until you find a style taht suits you.
Then use the 'Syntax' -> 'Convert to HTML' and save the results.
精彩评论