Relax NG: Drop down list at attribute with value domain

Are you missing a feature? Request it's implementation here.
Metin
Posts: 11
Joined: Fri Oct 10, 2003 4:38 pm
Location: Netherlands

Relax NG: Drop down list at attribute with value domain

Post by Metin » Mon Oct 20, 2003 4:14 pm

Hi,

It would be nice, analogous to element and attribute selection, to get a drop-down list at attribute values that can be only one of the specified values in the Relax NG grammar.

Example grammar-piece:

example = element Example
{
attribute valueDomain { "value1" | "value2" | "value3"}
}

Example xml:
<Example valueDomain="<!-- at this point I'd like to see value1, value2 and value3 in a drop-down list -->" />

Regards,
Metin