<xs:unique name="Constraint1" msdata:PrimaryKey="true"> <xs:selector xpath=".//Temp" /> <xs:field xpath="NoClient" /> <xs:field xpath="NoInvoice" /> </xs:unique>