help-gnu-emacs
[Top][All Lists]
Advanced

[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/0.9.8.0 (Linux)

On 02 Jul 2004 14:42:56 -0600, Satya Mishra <snmishra@XXXhotYYYpop.com>:
> >>>>> "keeling" == s keeling <keeling@spots.ab.ca> 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.
(*)               http://www.spots.ab.ca/~keeling
- -     Spammers! http://www.spots.ab.ca/~keeling/spammers.html
http://learn.to/quote http://www.netmeister.org/news/learn2quote.html


reply via email to

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