Hello folks,

I was looking for a simple parser that takes in a DTD and outputs a list of tuples on the DTD specs such as:

(element name0 parent_tag type_data)
(element name1 parent_tag type_data)
(element name2 parent_tag type_data)

For those of you who recognize it... it would represent a form of FSAutomata.

I would reallly appreciate any advice as to how to go about coding something of this description or even use any tools that may exists for such parsing.

Thank you for your feedback.

Regards,

Sarosh Jamal