views:

83

answers:

1

Does .NET provide any built-in support for working with XML DTDs? I want to retrieve element type, attribute lists, and entity declaration information. I'm aware of the support for validating against a DTD, but want to be able to work with the DTD information itself.

I'd be fine parsing DTDs manually to accomplish this, but would rather not if there's already something built-in to the framework.

A: 

.Net does have support for DTD

The following link has further information from Microsoft on useage.

Microsoft DTD Information

ChrisC_46259
Right, as I mentioned in my question, I'm aware of the .NET support for validating against a DTD. I don't see any way in the framework to get info on the DTD itself, such as available elements, attributes, and entities.
arathorn