开发者

how to write xml schema(XSD)

I want to right one XML schema(XSD) in which 开发者_高级运维element have multiple occurences and have one attribute ID I want validate if borrower's ID attribute have a value equal to 1 then all its subelement must have some value. is this possible with XSD? Please suggest me if their is a way to achieve this thanks


Not possible as far as I can remember, but it is totally OK to first validate the XML using XSD and then have some additional, application-specific validation logic on top of that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜