Nope. The point was that a DTD can't be reliably parsed, as it's not an XML document.
You'll have to open your foobar.dtd with your programming language's equivalent to OpenFile(), read each line using the equivalent to ReadLine(), and close it using the equivalent to CloseFile(). In other words, the hard way.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.