I want to know what the legal values are (the key values) that are
valid for a given keyref that references said key. I haven't been
able to find any methods in the DOM or the Schema interfaces that
could be combined to derive the answer. And since the answer depends
on info from both the schema and the document instance, I suspect
there are no existing methods. So my next question...
Is there any document that explains key/keyref in more detail?
Actually, what I would prefer is something that falls between the
complexity of "XML Schema Part 0 - Primer" and "XML Schema Part 1 -
Structures". Despite the huge conceptual gap between those two
documents, both have key/keyref examples that are simple - both the
key and keyref are defined on the same element, and that element is
always the root node. From my initial reading of Part 1, the keys
must be defined on self-or-descendant modes of the keyrefs. But it
doesn't explain any required relationship between the target node sets
(qualified node sets) of the key and keyref. I still don't
understand, in the general case, how to determine the context node
used for evaluation of the key selector xpath.
Any help, whether pointers to existing xerces methods or
recommendations for other documentation to read would be appreciated.
Thanks - Mark Brucks
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org