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.
精彩评论