File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in applying unique constraint on xml attribute through xsd unique

 
ganesh b pol
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my xsd file is



i want id attribute of mq_system must be unique
i.e. for following xml file


must not be valid since its id attribute contains duplicate element how should i achive this with xsd.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic