From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: Formatting XML docs Date: Wed, 12 Aug 2009 07:56:39 -0400 Message-ID: References: <55bc6$4a81d029$4c0ab2c1$27610@TEKSAVVY.COM> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250078297 9263 80.91.229.12 (12 Aug 2009 11:58:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 11:58:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Olivier Sirven Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 13:58:09 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 1MbCT3-0000Is-11 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 13:58:09 +0200 Original-Received: from localhost ([127.0.0.1]:59813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbCT1-0003Xf-3l for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 07:58:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbCRj-000348-LO for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 07:56:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbCRd-00031i-QZ for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 07:56:45 -0400 Original-Received: from [199.232.76.173] (port=44567 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbCRd-00031Z-KG for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 07:56:41 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.246]:32688) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbCRd-0006Pp-AE for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 07:56:41 -0400 Original-Received: by an-out-0708.google.com with SMTP id b6so1743466ana.21 for ; Wed, 12 Aug 2009 04:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LZZmX55RZkkyC45ZnQjCatmvG93Z4LLLD1FirhZdhyw=; b=Z2h9a70PsGf/NXoHkCT9Cu1LW3iLx7Huoz1a/bvMWNl0E6VjHoBpCcSQ2Qw8Kye3hs MXjWyBb3GMjpYrCLLjmz4sg3UNVnSYSrxO2b3pysNV6mJ8osbzg1ask7Y2ZZI4GZHbZ0 hBxnfLg1X5t7RD7/HFyYhRTwE5HdmSqjZOmLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QFF2jwm7p2uMaQuBcEe8kpA2kAtof8QpdBj4Iysg7aJyWlvUwK3wIatIIO0nLwPP8E cENXL6qfPcZs5DmBDVjv4wdFjXiWpXN05siJ1xRZQ2GrxJOz8K+qaO8N+Ev9tdwKtvG4 dS60vIal3jMQIIM1LJACqivX9uU/RjXm3TTAY= Original-Received: by 10.101.73.18 with SMTP id a18mr44763anl.66.1250078199882; Wed, 12 Aug 2009 04:56:39 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:67078 Archived-At: On Wed, Aug 12, 2009 at 3:57 AM, Olivier Sirven wrote: > "Eric B." 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