Hi, I have a generic question regarding writing xsd for XML. Is it possible to write a schema(xsd) if children of an element depends on value of a particular attribute ? for eg, if type="service" then children of will be (protocal,srcport,destport,icmpType,icmpCode) AND if type="device" then children of will be (ip,hostname,domain) <Service> <protocol/> <srcPort/> <destPort/> <icmpType/> <icmpCode/> <Service> <ReportingDevices> <ip/> <hostName/> <domain/> </ReportingDevices> Thanks, Vipin V S. -- View this message in context: http://www.nabble.com/Schema-definition-tf3885720.html#a11014163 Sent from the Apache XML - General mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]