OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: [relax-ng] annotation for <choice> in the compact syntax



> In the compact syntax, is it possible to write
>
> <choice relaxer:implements="foo">
>   ...pattern1...
>   ...pattern2...
> </choice>
>
> ?

Just do:

  [relaxer:implements="foo"](...pattern1... | ...pattern2...)

The exact rules for this are in the spec.  This is one of the things that
contributes to the complexity of Appendix A.

James


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC