This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
How to implement getElementById() with Xerces using XML Schema?
Search for a specific ID
problem in applying unique constraint on xml attribute through xsd unique
tag-value should be unique ...
passing a matrix