XSD Validation XML has an Attribute true

andrewmaroon

New Member
My question is, if i have to validate if just one has an attribute true, and one of all have to be true, using the xml:\[code\]<addresses> <address> <primary>true</primary> <street>One str.</street> <number>111</number> </address> <address> <primary>false</primary> <street>Two str.</street> <number>222</number> </address></addresses>\[/code\]How to do??ps: Sorry about my english.
 
Back
Top