Re: (no subject)

Steve Drach <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <Pine.LNX.4.50.0401100854410.30615-100000@petea>
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.