How to generate sample XML documents from their DTD or XSD?

前端 未结 19 1906
梦毁少年i
梦毁少年i 2020-11-22 10:11

We are developing an application that involves a substantial amount of XML transformations. We do not have any proper input test data per se, only DTD or XSD files. We\'d li

19条回答
  •  故里飘歌
    2020-11-22 11:09

    For Intellij Idea users:

    Have a look at Tools -> XML Actions

    enter image description here

    Seems to work very well (as far as I have tested).

    Edit:

    As mentioned by @naXa, you can now also right-click on the XSD file and click "Generate XML Document from XSD Schema..."

提交回复
热议问题