Next in thread →
Next in month →
Re: Confirmation: the syntax of the <data> pattern.
> @key and @keyref are exclusive? I can't imagine a situation where both
> are used at the same time, but certainly it doesn't do any harm.
I found one situation that we want to specify both attributes at the
same time.
<zeroOrMore><choice>
<element name="foo">
<data type="token" key="left2right" keyref="right2left"/>
</element>
<element name="bar">
<data type="token" key="right2left" keyref="left2right"/>
</element>
</choice></zeroOrMore>
This implements the semantics of the one-to-one mapping.
--
Kohsuke KAWAGUCHI +1 650 786 0721
Sun Microsystems
Next in thread →
Next in month →