[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Relax NG specs
> But I would suggest the use of the following syntax, > > > function boolean allowsChildren(pattern p) { > > switch (p) { > > case <oneOrMore> p1 </oneOrMore>: > > return allowsChildren(p1); > > case <interleave> p1 p2 </interleave>: > > case <group> p1 p2 </group>: > > case <choice> p1 p2 </choice>: > > rather than the current M [[p]](a, c, e) syntax. The XML source of the spec should probably use semantic markup so that either syntax can be generated by an appropriate stylesheet. James
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC