sasi555 has asked for the wisdom of the Perl Monks concerning the following question:

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

Replies are listed 'Best First'.
Re: How Can Get DTD elements/Attribute
by ig (Vicar) on May 19, 2009 at 06:29 UTC
Re: How Can Get DTD elements/Attribute
by Anonymous Monk on May 19, 2009 at 06:24 UTC