[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Issue: redefinitions and order-significance
> Another entirely different approach to make XHTML m12n easy is to allow > multiple patterns to share the name --- just like RELAX --- and treats > them as if they are embraced in choices. This will keep order of > definitions insignificant and still makes XHTML m12n easy. It certainly makes it easy (as shown below), but not easy enough, because we can't add attributes. head module <define name="head.opts"> <empty /> </define> <define name="head"> <element name="head"> <ref name="head.attributes" /> <interleave> <zeroOrMore> <ref name="head.opts" /> </zeroOrMore> <ref name="title" /> </interleave> </element> </define> script module: <define name="head.opts"> <ref name="script" /> </define> -- Kohsuke KAWAGUCHI +1 650 786 0721 Sun Microsystems kohsuke.kawaguchi@eng.sun.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC