One Aging Geek

Saturday, February 07, 2004

xmlhack: xmlformat: Consistently format XML files

xmlhack: xmlformat: Consistently format XML files:

xmlformat is a REX-based script (take your pick from Perl or Ruby versions) for consistently reformatting XML files; that is, 'canonizing' and normalizing whitespace, indenting, line-wrapping, and placement of line breaks. It works as advertised, handling mixed content and 'verbatim' content correctly.