Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in applying unique constraint on xml attribute through xsd unique  RSS feed

 
ganesh b pol
Greenhorn
Posts: 14
  • 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.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!