john.mcclain_at_homeq.com wrote:
> Is there a way to have optional elements in an xml schema be required if
> certain other elements exist or have a specific value.
> I.E
> if I have an optional element X, and a required element Y. What I would
> like is to enforce that when element Y = "COMPLETED", then element X
> exists?
Not really. In XML Schema at least.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com