XML

XSD restriction for either specific string or number (mixture type)

如果在XSD restriction 上 容許 mix restriction (mix data type) 呢? 解決方法: 我們可以建立一個simpleType 之後在simpleType 入面使用 union 再把多個simpleType union 在一起 e.g. <?xml version="1.0" encoding="UTF-8"?> …