Search found 2 matches

by RobertB
Tue Mar 28, 2006 5:01 pm
Forum: XML Schemas
Topic: conditional validation based on an attribute
Replies: 2
Views: 10288

To George

Thank's for your time, this is what I thought !

Robert
by RobertB
Mon Mar 27, 2006 11:37 pm
Forum: XML Schemas
Topic: conditional validation based on an attribute
Replies: 2
Views: 10288

conditional validation based on an attribute

Hi, Does anybody know of an easy way in a XSD to have a validation based on an attribute from the parent node ? My XML: .... <product no="218"> <part type="é" /> </product> <product no="205"> <participant>N</participant> <part type="é"> <nb>1</nb> </part> </product> ... In the XSD: ... <xs:element...