On Tue, May 14, 2002 at 06:07:21AM -0600, [EMAIL PROTECTED] wrote: > > Hey all, I am considering writing a simple/stupid XML parser. Nothing > > fancy, but it will be enough for my needs. > > > > ... > > > > My goal is to have all help files in epic converted to a very simple XML > > DTD which epic itself would know how to read intrinsicly. This DTD won't > > be much, but it will let epic preparse the help files and print out the > > help contents at the appropriate size for the window as it sits right now. > > Note, it won't work if you resize and there are perfectly valid reasons > > for that based on how epic currently saves its text buffer. I am also > > willing to help write XSLT filters for turning the help into a real HTML > > manual, though I definitely do not currently understand this enough to do > > it on my own. > > > > > > C'mon guys, /help sucks ass and we all know it. Whaddaya say? > > Sounds like a good idea, but it makes more sense to use Schema. > More tools support it and DTD's are slowly being deprecated.
I'm not so concerned about that, but I do want a DTD for easy conversion.
Primary concerns so far are that the parser needs to check the first line
to make sure it's tagged as an XML file. Else it has to fall back on the
yucky legacy help display system, for old scripts that set the help path
to their own files, like lice..
Second concern is the parser.. I want something dead simple in the API
department, but I don't want too much bloat or DWIM in the code. I'm
still working on the parser's API, and would welcome help for this if
someone's willing to provide it.
As with all of my really nifty but generally very small snippets, this
code I intend to release as public domain. I may include it on my
upcoming SDL snippets library page, which will accept submissions by hand
mainly of preferably PD or BSDish snippets for us game coders. Stuff
that's too small to LGPL and put in a library, mainly - though if I get
some sane BSDish licensed deflate code, you better believe I'll turn it
into a zip/gzip library. (I hate zlib..)
--
Joseph Carter <[EMAIL PROTECTED]> We can hope for the future
But there might not be one
<Culus> Hhhmmmmmmmm
<Culus> waterbeds for cows
<Culus> eleet
<cas> Culus: why would a cow need a waterbed?
<Culus> cas: To be comfy warm
msg00178/pgp00000.pgp
Description: PGP signature
