Thanks!
This does just what I wanted:
$> tidy -indent -xml Diagram1.dia
On Thu, 2003-07-03 at 09:22, Yuri Arapov wrote:
> Hi Philippe!
>
> On 03 Jul 2003 09:07:51 +0200
> Philippe Faes <Philippe.Faes@UGent.be> wrote:
>
> > How can I make Dia export human-readable XML? I know how to set it so
> > that it doesn't compress the files, but all the data is in one line
> > (no'\n' characters, no indentation). I remember dia used to save its
> > files"nicer". Maybe this should be the default. I don't thing we save
> > a lot of disk space by leaving these TAB and EOL characters out.
> >
>
> Don't know about the Dia, but tidy is your friend:
> http://tidy.sourgeforge.net/
>
> Regards,
>
> Yuri