element but where is it explained as an attribute?
That asked
I did the following:
<grammar>
<start combine="choice" >
All the book elements here
</start>
<start combine="choice" >
All the piece elements here
</start>
<start combine="choice" >
All the song elements here
</start>
</grammar>
Is that what you meant?
thanks
Aaron
ps great book :)
> You can either add a combine="choice" attribute on your start patterns
> (or use start |= ... in the compact syntax) or embed a choice within
> your start pattern:
>
> start = book|article|...
>
> Hope this helps.
>
> Eric
> --
> Carnet web :
> http://eric.van-der-vlist.com/blog?t=category&a=Fran%C3%A7ais
> ------------------------------------------------------------------------
> Eric van der Vlist http://xmlfr.org http://dyomedea.com
> (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
> (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
> ------------------------------------------------------------------------
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
YAHOO! GROUPS LINKS
- Visit your group "rng-users" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
