This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes Unique constrain using  XML Schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Unique constrain using  XML Schema" Watch "Unique constrain using  XML Schema" New topic
Author

Unique constrain using XML Schema

Anoop Krishnan
Ranch Hand

Joined: May 03, 2001
Posts: 163
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


I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
 
wood burning stoves
 
subject: Unique constrain using XML Schema