unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "D. D. Brierton" <darren@dzr-web.com>
Subject: Re: psgml - support for XML namespaces and schemas?
Date: Fri, 08 Nov 2002 16:35:48 +0000	[thread overview]
Message-ID: <EJRy9.4584$dz2.420008@stones> (raw)
In-Reply-To: 5l1y5wvy25.fsf@rum.cs.yale.edu

On Fri, 08 Nov 2002 16:14:10 +0000, Stefan Monnier <foo@acm.com> 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)
======================================================================

  reply	other threads:[~2002-11-08 16:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05  0:17 psgml - support for XML namespaces and schemas? D. D. Brierton
2002-11-05 18:52 ` Jerry James
2002-11-08 10:47 ` Lennart Staflin
2002-11-08 11:49   ` D. D. Brierton
2002-11-08 13:19     ` Phillip Lord
2002-11-08 16:14     ` Stefan Monnier <foo@acm.com>
2002-11-08 16:35       ` D. D. Brierton [this message]
2002-11-08 17:10         ` Galen Boyer
2002-11-08 18:09           ` D. D. Brierton
2002-11-10  1:41             ` Galen Boyer
2002-11-10  2:28               ` D. D. Brierton
2002-11-10  3:43                 ` Galen Boyer
2002-11-10 14:45                 ` Kai Großjohann
2002-11-10 15:19                   ` D. D. Brierton
2002-11-11  7:38                     ` Kai Großjohann
2002-11-08 17:16         ` Stefan Monnier <foo@acm.com>
2002-11-08 17:53           ` D. D. Brierton
2002-11-08 16:59       ` D. D. Brierton
2002-11-12  3:51       ` Matt Armstrong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='EJRy9.4584$dz2.420008@stones' \
    --to=darren@dzr-web.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).