On Sun June 25 2006 19:57, Donald H Locker wrote:
> If I'm getting into hacking the contents, I usually first use emacs
>
> M-x query-replace-regular-expression \(<\([^/][^>]\)*/> C-q C-j \1 C-q C-j
>
> and
>
> M-x query-replace-regular-expression \(<\([^ ]+\) .*</\2[^>]+>\) C-q C-j
> \1 C-q C-j
>
> to break things up a bit. The first replacement puts each
> "self-terminated" element on a line by itself.
>
> The second chunks <something.....</somthing...> onto their own lines.
There is no need to do this if you turning off the "Size optimisation for XML"
option in "Tools" -> "Options" -> "Load/Save" -> "General"
Also the file is then more than just 2 lines.
--
CPH : openoffice.org contributor
Maybe your question has been answered already?
http://user-faq.openoffice.org/#FAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]