Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.NET 是否为使用 XML DTD 提供任何内置支持?我想检索元素类型、属性列表和实体声明信息。我知道支持针对 DTD 进行验证,但希望能够使用 DTD 信息本身。
我可以手动解析 DTD 来完成此操作,但如果框架中已经内置了一些东西,我宁愿不这样做。
.Net 确实支持 DTD
以下链接包含来自 Microsoft 的有关使用情况的更多信息。
微软 DTD 信息