[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [relax-ng] A mechanism for handling inclusion/exclusion
On 13 Oct 2003 10:34:28 +0700
James Clark <jjc@jclark.com> wrote:
> I think it's a little confusing to have context be handled as a new kind
> of pattern. Would it be possible instead to handle it in the
> name-class? Your example might be written instead as:
>
> a = element a - a//a { mixed { (em|span)* } }
> span = element span - span//span { mixed { (a|em)* } }
> em = element em - em//em { mixed { (span|a)* } }
I think that this approach is simpler and probably good enough
although my original is more powerful.
Norm, how do you feel? This is your area.
Cheers,
--
MURATA Makoto (FAMILY Given) <EB2M-MRT@asahi-net.or.jp>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]