Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unique constrain using XML Schema

 
Anoop Krishnan
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an xml file as given below.

I want FidSource@id/Fid@id combination unique
How can it be achieved in an xml schema definition using <xs:uinique> constrain
I tried the folowing but it is not valid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic