Using Perl 8.0 and libWWW comline (you can use wget, lynx, etc) I have
retrieved and successfully built a parser with this version of
dtd2yacc.pl. I should note that the "xml:lang" tag through Bison/Yacc
for a loop as this is used to delimit rules. I replaced this by hand
with "xmlClang". The dtd.pl is from the perlSGML package. For example,
"http://www.nacs.uci.edu/indiv/ehood/perlSGML.html"
Regards,
Bill Pringlemeir.
Forwarded message 1
On Wed, 2002-04-24 at 21:10, Bill Pringlemeir wrote:
>
> [snip]
>
> Bill> .mod files). If this is tough with what is available, I can
> Bill> read the DTDs and make the grammar by hand. Hints on mailing
> Bill> lists to frequent would be appreciated. Actually, anything
> Bill> would be... or even what is currently on www.w3.org is much
> Bill> appreciated ;-]
>
> I found the Perl XML package and got the DTD.pl and figured out how to
> map `catalog' so that I can use the xHtml-basic modules. It produces
> a YACC file for me!
Hey... great! I'd appreciate it if you'd make your results available;
maybe send a pointer to www-html@w3.org? Or just send a copy
to www-archive@w3.org; it's a mailing list where nobody's
expected to subscribe; just a convenient place to archive stuff...
http://lists.w3.org/Archives/Public/www-archive/