[relaxng-user] (no subject)
Steve Drach
drach at eng.sun.com
Sat Jan 10 08:56:42 ICT 2004
> hl=("hide"|"show")?
> ed=("enable"|"disable")?
> lr=("raise"|"lower")?
>
> state=attribute state {list {
> (hl,((ed,lr)|(lr,ed)))
> | (lr,((hl,ed)|(ed,hl)))
> | (ed,((hl,lr)|(lr,hl)))}}
>
> start = element test { state }
Thanks all for your help. David Tolpin's solution above works perfectly.
I'm just a newbie at this, but it sure makes schema writing more
pleasurable.
More information about the relaxng-user
mailing list