From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "s. keeling" Newsgroups: gmane.emacs.help Subject: Re: XML, nsgmls, and emacs Date: 3 Jul 2004 17:29:05 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: keeling@spots.ab.ca NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1088876009 484 80.91.224.253 (3 Jul 2004 17:33:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jul 2004 17:33:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 03 19:33:19 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgoO7-0004Ob-00 for ; Sat, 03 Jul 2004 19:33:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgoPz-0006M9-Ff for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jul 2004 13:35:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: news.uni-berlin.de vGfKJJAcCl0S4XVDactYsQhgi6H1//lBqahOUjm+RDUuWG/G9r X-UCE: I forward UCE/spam with ALL headers to abuse@your.isp UNREAD! X-UCE2: Wow, are spammers ever stoopid! X-PGP-Key: GPG key: http://keyserver.noreply.org:11371/pks/lookup?op=vindex&search=AC94E4B7 X-GPG-Key-ID: AC94E4B7 X-No-Confirm: yes User-Agent: slrn/0.9.8.0 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:124104 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19435 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19435 On 02 Jul 2004 14:42:56 -0600, Satya Mishra : > >>>>> "keeling" == s keeling 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