Re: Adding XSD 1.1 assertions to a complex type
Mukul Gandhi <[email protected]>
| Newsgroups | gmane.text.xml.xerces-j.user |
|---|---|
| Message-ID | <CABuuzNOv=jZpPS1q2NjwoedOtx0BGdxuT9Uut+5CXO09H7p4Dg@mail.gmail.com> |
On 17 July 2014 21:19, sshanmug <[email protected]> wrote: > Thanks for the response. I added the assert and it's working. > Basically I added the following assert > <xs:assert test="exists(element1)" /> > That shall also work. Its upto you. If you wish to save few keystrokes, you can opt for the <assert> I mentioned. -- Regards, Mukul Gandhi