File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Unique constrain using  XML Schema" Watch "Unique constrain using  XML Schema" New topic

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
I agree. Here's the link:
subject: Unique constrain using XML Schema
It's not a secret anymore!