No. That's a co-occurrence constraint that is not currently supported by
the schema spec.

Khaled

Tim Cronin wrote:

> is there a way via a schema to constrain a node value base off of an
> attribute value
>
> I have an element
> <Datum type="text">any text<Datum>
>
> but if the type = color it needs to be a valid rgb color
>
> <Datum type="color">#FFFFFF<Datum>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to