How to choose between DTD and XSD

前端 未结 7 2137
南旧
南旧 2020-12-02 10:37

I want to use either a DTD or an XSD to describe my XML document. I\'ve read that XSDs are better than DTDs since they support namespaces and data types, and that DTDs are o

7条回答
  •  爱一瞬间的悲伤
    2020-12-02 10:52

    It wouldn't hurt to understand the structure of a DTD (it'll help you better understand an XSD in the long run)...but you should use XSDs moving forward.

提交回复
热议问题