From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Olivier Sirven Newsgroups: gmane.emacs.help Subject: Re: Formatting XML docs Date: Wed, 12 Aug 2009 09:57:54 +0200 Organization: Guest of ProXad - France Message-ID: References: <55bc6$4a81d029$4c0ab2c1$27610@TEKSAVVY.COM> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250066484 7836 80.91.229.12 (12 Aug 2009 08:41:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 08:41:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 10:41:17 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mb9OV-0002hw-St for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 10:41:16 +0200 Original-Received: from localhost ([127.0.0.1]:39955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb9OT-0004Ux-Uz for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 04:41:13 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp14-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:nmhgbLt0pgDM1G5Tto1H183u18w= Original-Lines: 26 Original-NNTP-Posting-Date: 12 Aug 2009 09:57:54 MEST Original-NNTP-Posting-Host: 82.224.24.185 Original-X-Trace: 1250063874 news-4.free.fr 8004 82.224.24.185:56854 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:171900 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67076 Archived-At: "Eric B." 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