From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Satya Mishra Newsgroups: gmane.emacs.help Subject: Re: XML, nsgmls, and emacs Date: 02 Jul 2004 14:42:56 -0600 Organization: National Semiconductor, Santa Clara Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088801320 13946 80.91.224.253 (2 Jul 2004 20:48:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2004 20:48:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 02 22:48:24 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 1BgUxK-0004mL-00 for ; Fri, 02 Jul 2004 22:48:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgUz9-000386-L5 for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jul 2004 16:50:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-server.caltech.edu!attla2!attla1!ip.att.net!usenet.nsc.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 47 Original-NNTP-Posting-Host: quandary.nsc.com Original-X-Trace: usenet.nsc.com 1088801018 3598 192.137.59.70 (2 Jul 2004 20:43:38 GMT) Original-X-Complaints-To: usenet@usenet.nsc.com Original-NNTP-Posting-Date: Fri, 2 Jul 2004 20:43:38 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:124099 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:19429 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19429 >>>>> "keeling" == s keeling writes: keeling> Buenos dias. I've just got into XML recently. I've a keeling> short list of problems I'm running into. keeling> I've managed to get validation working but I appear to keeling> need some tweaks to my setup for it to work correctly. keeling> When I do "C-c C-v" it comes up with: keeling> sgmls -s file.xml keeling> which fails. I change that to: 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? keeling> Secondly, I've been trying to get conversions out of keeling> xml2, but it doesn't give me anything that looks like keeling> valid html. The output looks like a dump of absolute keeling> filenames instead of html tagged source. Where's a good keeling> reference/documentation for xml2? keeling> This is in Debian Woody/stable, emacs20. Thanks. keeling> -- Any technology distinguishable from magic is keeling> insufficiently advanced. (*) keeling> http://www.spots.ab.ca/~keeling - - Spammers! keeling> http://www.spots.ab.ca/~keeling/spammers.html keeling> http://learn.to/quote keeling> http://www.netmeister.org/news/learn2quote.html Hi You need to set sgml-validate-command (setq sgml-validate-command "nsgmls -s /usr/share/sgml/declaration/xml.dcl") should do it. No idea on xml2 Satya -- Remove XXX and YYY to get my address