|
Subject: Re: Hopefully simple -- include a quote? From: Matthias Clasen <clasen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 22 Oct 1999 01:25:01 +0200 |
Making the dtd just a little bit more complex and adding '//' as a
shortref makes it handle the C++ comments as well:
<!doctype charlist [
<!element charlist o o ((comment|char)+) >
<!element char o - (u,name) >
<!element (u,name,comment) o - (#pcdata) >
<!entity a '<char><u>' >
<!entity b '</u><name>' >
<!entity c '</name></char>' >
<!entity d '<comment>' >
<!entity e '</comment>' >
<!shortref cmap '{ ' a '//' d >
<!shortref umap ', "' b >
<!shortref nmap '" },' c >
<!shortref comap '&#RE;' e >
<!usemap cmap charlist >
<!usemap umap u >
<!usemap nmap name >
<!usemap comap comment >
]
--
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, Matthias Clasen | Thread | RE: Hopefully simple -- include a q, Wroth, Mark |
| Re: Hopefully simple -- include a q, Matthias Clasen | Date | Re: Problems with attributes., Reyes |
| Month |