I want to get DTD Elements in perl. 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 .
thanks in advance
by
sasikumar