help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting XML docs


From: Tim Visher
Subject: Re: Formatting XML docs
Date: Wed, 12 Aug 2009 07:56:39 -0400

On Wed, Aug 12, 2009 at 3:57 AM, Olivier Sirven<address@hidden> wrote:
> "Eric B." <address@hidden> writes:
>
>> 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?
>
> 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.

+1 for making the switch to NXML mode.

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail




reply via email to

[Prev in Thread] Current Thread [Next in Thread]