From: Satya Mishra <snmishra@XXXhotYYYpop.com>
Subject: Re: XML, nsgmls, and emacs
Date: 02 Jul 2004 14:42:56 -0600 [thread overview]
Message-ID: <vv0r7ru6sz3.fsf@quandary.nsc.com> (raw)
In-Reply-To: slrnceba8c.rju.keeling@infidel.spots.ab.ca
>>>>> "keeling" == s keeling <keeling@spots.ab.ca> 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
next prev parent reply other threads:[~2004-07-02 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-02 18:31 XML, nsgmls, and emacs s. keeling
2004-07-02 20:42 ` Satya Mishra [this message]
2004-07-03 17:29 ` s. keeling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vv0r7ru6sz3.fsf@quandary.nsc.com \
--to=snmishra@xxxhotyyypop.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).