I
Ian Pilcher
I've managed to figure out how to create a keyref identity constraint as
part of an element definition in my schema. Ideally, I would like to
make it part of the type definition.
In my initial experiments, it doesn't look like this is possible. (I've
actually managed to add a constraint to an element within a complex
type, and the parser accepts it, but it doesn't appear to do anything.)
A little bit of reflection leads me to think that it's probably not
possible, because it doesn't really make sense. (How can a type be
constrained by an element?)
Am I right?
Thanks!
part of an element definition in my schema. Ideally, I would like to
make it part of the type definition.
In my initial experiments, it doesn't look like this is possible. (I've
actually managed to add a constraint to an element within a complex
type, and the parser accepts it, but it doesn't appear to do anything.)
A little bit of reflection leads me to think that it's probably not
possible, because it doesn't really make sense. (How can a type be
constrained by an element?)
Am I right?
Thanks!