How Can Get DTD elements/Attribute In java
Dear Friends,
I want to get DTD Element in java Like by using DOM parser we can get Elements/Attribute in XML.
<!ELEMENT author (#PCDATA)>
<!ATTLIST author
id (2 | 4 | 6) #REQUIRED
>
<!ELEMENT book (author, page)>
<!ATTLIST book
id (1 | 2 | 3 | 4) #REQUIRED
name CDATA #REQUIRED
>
<!ELEMENT library (book+)>
<!ELEMENT page (#PCDATA)>
By Example
i wants i can get elements library -> childs are book
book child have Attributes id and name..
how can i get .
pls help me
with regards
Siddharth singh

