XML, DTD: how to make the order not important

后端 未结 5 430
难免孤独
难免孤独 2020-12-06 05:27

I started off using an XML file and a parser as a convenient way to store my data

I want to use DTD to check the structure of the xml files when they arrive.

5条回答
  •  心在旅途
    2020-12-06 06:03

    As Roger said, there are only ordered lists, but you can use operator OR | to define all accepted combinations

    
    

    Look here, there is an example in the section Choices

提交回复
热议问题