perl module providing a quick and dirty DTD parser


XML::DTDParser parses a DTD file and creates a data structure containing info about all tags, their allowed parameters, children, parents, optionality etc.

The module should be able to parse just about anything, but it intentionaly looses some information. Eg. if the DTD specifies that a tag should contain either CHILD1 or CHILD2 you only get that CHILD1 and CHILD2 are optional. That is the DTD contains

<!ELEMENT FOO (BAR|BAZ)> the result will be the same is if it contained


You get the original unparsed parameter list as well so if you need this information you may parse it yourself.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libxml-dtdparser-perl