aspose file tools*
The moose likes Product and Other Certifications and the fly likes problem in applying unique constraint on xml attribute through xsd unique Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "problem in applying unique constraint on xml attribute through xsd unique " Watch "problem in applying unique constraint on xml attribute through xsd unique " New topic
Author

problem in applying unique constraint on xml attribute through xsd unique

ganesh b pol
Greenhorn

Joined: Aug 20, 2008
Posts: 14
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in applying unique constraint on xml attribute through xsd unique
 
Similar Threads
unble to validate xml against schema
problem in applying restriction on xml attribute jaxb i.e. unable to do validation for attributes
schema generation
XML valiadation using schema
Axis 1.4 throwing org.xml.sax.SAXException: Invalid element