Tuesday, September 16, 2008

checking for well formed documents in OS X

I sometimes have to generate XML documents from some random source of data. It's typically a one off task, so I just write a quick program. However, I usually get the format wrong or forget a special character. OS X (and linux) happens to have a neato utility for checking for well formedness called xmlwf