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

Re: SGML validation in emacs



On Sun, Jun 10, 2001 at 09:04:58AM -0700, Ian Zimmerman wrote:

> In my_preamble.sgm, you must specify _the child element_
> (eg. "webpage" above), _not_ the root element (eg. "website").

Right. And tonight, in a fit of literal, concrete thinking, I tried

<!DOCTYPE child PUBLIC "etc_etc...">

and of course nobody has heard of a 'child' doctype. Duh. <g> I
finally have it right, thanks.

As to your other question, how to tell emacs what to use for
validating, say, for xml, where 'doctype' contains the doctype of the
child:

(setq sgml-declaration "/path_to/xml.dcl doctype")

in .emacs.


-- 
Bob Bernstein |    http://www.ruptured-duck.com
at            |           1024D/4A93E562
Esmond, R.I.  |      115B 8AA0 D418 F33B F0B1  
USA           |      6230 8014 B8D5 4A93 E562
    

Attachment: pgpVZ5FYtrcTX.pgp
Description: PGP signature


Reply to: