[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML, nsgmls, and emacs

From: s. keeling
Subject: Re: XML, nsgmls, and emacs
Date: 3 Jul 2004 17:29:05 GMT
User-agent: slrn/ (Linux)

On 02 Jul 2004 14:42:56 -0600, Satya Mishra <address@hidden>:
> >>>>> "keeling" == s keeling <address@hidden> writes:
>     keeling>    nsgmls -s /usr/share/sgml/declaration/xml.dcl file.xml
>     keeling> and it works.  How do I tell emacs to do that
>     keeling> automatically?  What do I need in my .emacs?
>  You need to set sgml-validate-command
>  (setq sgml-validate-command "nsgmls -s
>  /usr/share/sgml/declaration/xml.dcl")
>  should do it.

Thanks.  I fumbled around some more in google and found this:

   (setq sgml-validate-command "nsgmls -s %s %s")

That appears to work.

>  No idea on xml2

Same here.  I'll keep looking.

Any technology distinguishable from magic is insufficiently advanced.
- -     Spammers!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]