all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Formatting XML docs
@ 2009-08-11 20:10 Eric B.
  2009-08-12  6:09 ` Ivan Kanis
  2009-08-12  7:57 ` Olivier Sirven
  0 siblings, 2 replies; 4+ messages in thread
From: Eric B. @ 2009-08-11 20:10 UTC (permalink / raw)
  To: help-gnu-emacs

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?

Thanks,

Eric




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Formatting XML docs
  2009-08-11 20:10 Formatting XML docs Eric B.
@ 2009-08-12  6:09 ` Ivan Kanis
  2009-08-12  7:57 ` Olivier Sirven
  1 sibling, 0 replies; 4+ messages in thread
From: Ivan Kanis @ 2009-08-12  6:09 UTC (permalink / raw)
  To: Eric B.; +Cc: help-gnu-emacs

"Eric B." <ebenze@hotmail.com> wrote:

> At the moment, I am trying to edit and auto-format an xml document.

I suggest you use nxml it's bundled with emacs23.
-- 
Ivan
Kanis http://kanis.fr

Never attribute to malice what can adequately be explained by
stupidity.
    -- Robert J. Hanlon 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Formatting XML docs
  2009-08-11 20:10 Formatting XML docs Eric B.
  2009-08-12  6:09 ` Ivan Kanis
@ 2009-08-12  7:57 ` Olivier Sirven
  2009-08-12 11:56   ` Tim Visher
  1 sibling, 1 reply; 4+ messages in thread
From: Olivier Sirven @ 2009-08-12  7:57 UTC (permalink / raw)
  To: help-gnu-emacs

"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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Formatting XML docs
  2009-08-12  7:57 ` Olivier Sirven
@ 2009-08-12 11:56   ` Tim Visher
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Visher @ 2009-08-12 11:56 UTC (permalink / raw)
  To: Olivier Sirven; +Cc: help-gnu-emacs

On Wed, Aug 12, 2009 at 3:57 AM, Olivier Sirven<the.slaa@gmail.com> wrote:
> "Eric B." <ebenze@hotmail.com> 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-12 11:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 20:10 Formatting XML docs Eric B.
2009-08-12  6:09 ` Ivan Kanis
2009-08-12  7:57 ` Olivier Sirven
2009-08-12 11:56   ` Tim Visher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.