Search found 1 match

by Menno Pruijssers
Thu Mar 16, 2006 3:30 pm
Forum: XML Schemas
Topic: default value of attribute depends on attribute of parent
Replies: 7
Views: 14049

default value of attribute depends on attribute of parent

Ey Guys, I a creating a schema for a xml file like this: <root package="com.test"> <class name="Class"> .... </class> <class package="com.test2"> .... </class> </root> My schema looks like this: <xsd:element name="root" type="RootType"> <xsd:key name="className"> <xsd:selector xpath=".//class"/> <xs...