开发者

How to depict REQUIRED elements in Biztalk Schema

I am stuck trying to find a way to specify REQUIRED field开发者_开发百科s in my Biztalk schema files. Anyone have an answer for this? I tried to use the USE=REQUIRED attribute/value but that was rejected.


use="required" is only used for XML attributes. For XML elements you need to set minOcurrs=1 instead. However, remember that BizTalk doesn't do XML schema validation by default, that's something you need to explicitly enable and does come with a performance cost.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜