On Thu, 8 Feb 2007 13:31:29 +0100, Vincent Lefevre <[EMAIL PROTECTED]> said:
> On 2007-02-07 14:03:44 -0600, Manoj Srivastava wrote: >> But for xhtml, there is a perfectly fine DTD, and one can easily >> generate DTD's for anything with a XML schema; so this is very >> rarely an issue in practice. > I don't think one can always generate a DTD. There are lots of XML > files that use various namespaces (though these files are generally > generated, one may sometimes want to edit them, to fix things or > whatever). Anyway if psgml can't generate DTD's automatically and > transparently, that's quite useless. A quick one off editing of pre-generated can usually be done in text-mode. It is only when one is unsure of which tags are legal in a given context, or which attributes are available for a given tag, does one need a specialized editor -- and I have found psgml to be far from useless for editing XML in general. >> xslt is quite a different kettle of fish than just writing an XML >> document. As I said above, as far as psml is concerned, XML >> appears to be a subset of SGML (the non-subset features of XML are >> not relevant to psgml). > But XSLT files are XML documents. An editor that can't edit them > can't be called an XML editor. *Shrug*. You are now talking about corner cases; and picking nits; an editor that gives syntax coloring, context sensitive guidance about legal tags and attributes, and can complete open tags, etc, sure sounds like it is doing most of the tasks that need to be done. >> In most cases, psgml is a better fit than nxml mode for editing XML >> documents. > I disagree. Relax NG schemas are much more powerful than DTD's. So, > as long as one has a Relax NG schema, nXML mode is better than > psgml. I think we have descended into mere opinions, with little being said to back up any assertions, which concludes the utility of this thread to the mailing list. I suggest we take the psgml/nxml-mode grudge match off line, if you are interested in pursuing that. manoj -- Kaufman's Law: A policy is a restrictive document to prevent a recurrence of a single incident, in which that incident is never mentioned. Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]