|
Subject: Re: Hopefully simple -- include a quote? From: Matthias Clasen <clasen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 22 Oct 1999 01:11:19 +0200 |
We don't actually need a script to put tags into charNames.h.
The following dtd makes SP parse charNames.h as a list of the
following form:
<char><u>0x000a</u><name>line-feed</name></char>
<char><u>0x000d</u><name>carriage-return</name></char>
<char><u>0x0020</u><name>space</name></char>
...
You have to use it with a SGML declaration which
adds some shortrefs, ie the DELIM section should have:
DELIM
GENERAL SGMLREF
SHORTREF SGMLREF
'{ ' ', "' '" },'
<!doctype charlist [
<!element charlist o o (char+) >
<!element char o o (u,name) >
<!element (u,name) o o (#pcdata) >
<!entity a '<char><u>' >
<!entity b '</u><name>' >
<!entity c '</name></char>' >
<!shortref cmap '{ ' a >
<!shortref umap ', "' b >
<!shortref nmap '" },' c >
<!usemap cmap charlist >
<!usemap umap u >
<!usemap nmap name >
]>
--
Matthias Clasen,
Tel. 0761/203-5606
Email: clasen@xxxxxxxxxxxxxxxxxxxxxxxxxx
Mathematisches Institut, Albert-Ludwigs-Universitaet Freiburg
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Hopefully simple -- include a q, Brandon Ibach | Thread | Re: Hopefully simple -- include a q, Matthias Clasen |
| Re: Hopefully simple -- include a q, Brandon Ibach | Date | Re: Hopefully simple -- include a q, Matthias Clasen |
| Month |