1
我有以下兩個(不變),XML與相同命名空間的文件,我需要創建一個XSD:用xsd:any或xsd:sequence混合xsd:choice?
僞XML例子#1:
<Project>
<ProjectInformation/>
<HistoryEntry/>
<UserFiles/>
</Project>
僞XML例子# 2:
<Project>
<Installations/>
</Project>
沒有HistoryEntry
和UserFiles
元素,我會用xsd:choice
爲ProjectInformation
和Installations
。但是如何將HistoryEntry
和UserFiles
元素帶入遊戲?
是否有標準的XSD機制允許這樣做?
謝謝,我不知道我可以在選擇混合順序和元素。現在對我的作品。 – Alex