From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. D. Brierton" Newsgroups: gmane.emacs.help Subject: Re: psgml - support for XML namespaces and schemas? Date: Fri, 08 Nov 2002 16:35:48 +0000 Organization: DZR Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5l1y5wvy25.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1036774671 7851 80.91.224.249 (8 Nov 2002 16:57:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2002 16:57:51 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ACS1-00021d-00 for ; Fri, 08 Nov 2002 17:57:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ACQ4-00067Q-00; Fri, 08 Nov 2002 11:55:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!landlord!stones.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs User-Agent: Pan/0.11.4 (Unix) X-Comment-To: "Stefan Monnier " Original-Lines: 36 Original-NNTP-Posting-Host: 212.159.101.92 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: stones 1036773348 212.159.101.92 (Fri, 08 Nov 2002 16:35:48 GMT) Original-NNTP-Posting-Date: Fri, 08 Nov 2002 16:35:48 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106845 comp.emacs:75698 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3397 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3397 On Fri, 08 Nov 2002 16:14:10 +0000, Stefan Monnier wrote: > You can try out Emacs' built-in sgml-mode which is much less featureful than > PSGML but doesn't require anything like a DTD. The version that comes with > Emacs-21.2 is severely under-featured in many respects, but the version in > the development code > http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/textmodes/sgml-mode.el?rev=HEAD > supposedly works with Emacs-21.2 and provides XML support and indentation. > > I'd be interested to hear any comment about it, I'll download it and give it a try (I'm still using 21.1 - hopefully it will work with that too). I assume that just commenting out the stuff referring to PSGML in my .emacs will be sufficient to enable sgml-mode's XML mode). But what I am really after is the features of PSGML but more XML rather than SGML centric. The fact that PSGML parses the DTD and then provides context-sensitive menus for inserting elements and attributes is what makes it so useful for me. What I'd like in a dream-case scenario is for it to parse schemas instead of DTDs and work with hybrid documents containing markup from different namespaces (and in particular make it easy to insert the proper namespaces - I always have to look them up and type them in by hand). That would be much handier than being able to work with DTD-less generic XML, or relying solely on external tools for all validating. Pretty soon Mozilla will have native support for XHTML+MathML+SVG, and I'd like to have a nice environment for writing documents of that type, and include metadata in RDF. I'll get back to you re the new SGML mode ... Best, Darren -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step towards failure (Homer Simpson) ======================================================================