Axel Wernicke wrote: ...
> para Elements need by GIMP rules to be formatted as > > <para lang="xyz"> > content content content > content content content > content content content > </para> > > but xxe formats them as inline elements like: > > <para lang="xyz">content > content content content content > content content content</para> > > which I had to agree, is far less readable if one uses vi(m) to edit it. The following sed script will add line breaks and indent after <para...> and before </para>. (or use the same regular expressions in vi. It is a little harder to further indent the text between but sed, perl or other regexp text utilities could do it. s/^\( *\)\(<para[^>]*>\)/\1\2\ \1/ s/^\( *\)\([^ ].*\)<\/para>/\1\2\ \1<\/para>/ Philip

