With reference to topic, Perl, LibXML and Schemas
If I want to make the isbn tag to be an unique constraint, then what will be the change required in XSD. In addition to this, if I want to add validations for unique constraint using XML::LibXml, can I achieve the validations check using the same code? Can someone please explain with sample example with error in xml doc for unique constraint?
xs:unique
element. More info in Enforcing Association Cardinality article, and take a look at the provided example XSD;