[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Formatting XML docs
From: |
Olivier Sirven |
Subject: |
Re: Formatting XML docs |
Date: |
Wed, 12 Aug 2009 09:57:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) |
"Eric B." <ebenze@hotmail.com> writes:
> Hi,
>
> I'm somewhat of an emacs novice. I've been using the basic functionalities
> of emacs for a while, but nothing more than simple editing, save, etc..
>
> At the moment, I am trying to edit and auto-format an xml document. After
> searching for help online, I am somewhat stuck. I am in SGML major mode,
> however all the docs/help I read indicate to use sgml-print-pretty to
> reformat the buffer. However, I don't seem to have an sgml-print-pretty
> option installed.
>
> I am running the default version of emacs that comes installed with CentOS
> 5.3, with the psgml package installed.
>
> Can anyone point me in the right direction please?
Hi,
I don't know about SGML major mode for editing XML documents but I would
encourage you to use nxml major mode for XML docs. It's way much
powerful and efficient.
--
Olivier