From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: Re: xml package for emacs? Date: Wed, 03 May 2006 21:06:06 +0200 Organization: Probably a good idea Message-ID: <87mzdzkjxd.fsf@dod.no> References: <1146522133.272828.320600@j73g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1146683239 8116 80.91.229.2 (3 May 2006 19:07:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 19:07:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 03 21:07:17 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbMgb-0005RY-Px for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 21:06:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbMgb-0002HE-Jp for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 15:06:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbMgI-0002EC-Dn for help-gnu-emacs@gnu.org; Wed, 03 May 2006 15:06:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbMgH-0002DO-9U for help-gnu-emacs@gnu.org; Wed, 03 May 2006 15:06:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbMgH-0002DH-3T for help-gnu-emacs@gnu.org; Wed, 03 May 2006 15:06:37 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FbMgh-0004QD-Ql for help-gnu-emacs@gnu.org; Wed, 03 May 2006 15:07:04 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FbMg1-0005M1-Mq for help-gnu-emacs@gnu.org; Wed, 03 May 2006 21:06:21 +0200 Original-Received: from cm-80.111.224.068.chello.no ([80.111.224.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 21:06:21 +0200 Original-Received: from sb by cm-80.111.224.068.chello.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 21:06:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 52 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cm-80.111.224.068.chello.no Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:0K2aheHGoP46HVfCZkDOEvhx2V4= 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:34784 Archived-At: >>>>> "DaLoverhino" : > What do you suggest as an xml package for emacs? There seems to be a > few. My qualifications are these: I use psgml. http://www.lysator.liu.se/projects/about_psgml.html > 1. Package is available for gnu emacs on unix and windows. Yes. > 2. Takes advantage of color. Yes. > 3. Does indenting. Yes. > 4. Automatically closes out tag when you do a keystroke to close out > tag. > So, it will automatically insert "" for you. Yes. The command sequence is `C-/'. > 5. Can move between opening and closing tags, Yes. `C-M-a' and `C-M-e' (equivalent to `C-a' and `C-e'). > and move upto enclosing tags. Yes. `C-M-u' > 1,4 and 5 are most important to me. In addition to the above, psgml is DTD aware and give context sensitive element insertion and context sensitive attribute insertion and editing. However, FWIW my long term plan is to move to nxml, because 1. it is under active support (or will be, once the maintainer gets back to it) 2. has indirectly support fort for formats that are described with a schema rather than a DTD, and a more flexible way of linking the schema to a document than using a DOCTYPE What keeps me from going to nxml, is that 1. my PSGML setup works for me the way it is 2. AFAIK nxml doesn't support the `C-c +' command 3. nxml can edit xhtml, but not old style HTML ...in short: intertia