i need binary dtd for html 4.0 (urgent)

Hello,

well i need to parse the html pages and for that i need binary dtd for html version 4.0 or 4.01, so if anyone of u could help me out then i will be very thankfull to u. if u know any parser which could convert the dtd into it's binary format then please let me know.

thanks in anticipation

[331 byte] By [creativesac] at [2007-9-26 2:45:40]
# 1
I though DTD's were already in a binary format?
mwstein at 2007-6-29 10:27:46 > top of Java-index,Archived Forums,Java Programming...
# 2

Hello,

What do you mean by the binary format of a DTD? A DTD is just an ASCII text file.

Information on HTML (specs etc.) can be found at the website of the W3C: http://www.w3.org/MarkUp/

It's very easy to get the DTD. The DOCTYPE definition for HTML 4.01 is, as mentioned in the HTML specifications:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

You see the link to the DTD is in there.

regards

Jesper

jesper1 at 2007-6-29 10:27:46 > top of Java-index,Archived Forums,Java Programming...
# 3

Well the file avaliable at w3c.org's site is having extension .dtd but what i am looking for is binary dtd which will have an extension of .bdtd, if anyone will let me know about the conversion of dtd file into binary dtd , i will be very thankfull to him.

i want to use it parsing html with the help of javax.swing.text.html and we could only pass binary dtd as a parameter for parsing html. it has default binary dtd of html 3.2 but i need for html 4.0 so either i have to convert dtd to binary format or i need dtd with extension of .bdtd

creativesac at 2007-6-29 10:27:46 > top of Java-index,Archived Forums,Java Programming...