27.10.04

xml2

These days, you can find a lot of xml data floating around. A lot of programs have an export-to-xml feature. In the unix world there are a lot of tools that can do very useful things to documents but on a line by line basis and xml documents which have line breaks and padding and indentation and what not can be a pain in the but to parse. So Dan Egnor presents xml2, a nifty little utility that (with it's brother html2) converts structured documents into a line by line equivalent that you can feed into your favourite grep|sed|awk pipeline.

No comments: