Dave Pawson scripsit:
> I think you needed to tell him about using combine though,
> for alternate starts?
In full then:
<grammar>
<include href="foo.rng">
<define name="start" combine="choice">
<empty/>
</define>
</include>
<include href="foo.rng">
<define name="start" combine="choice">
<empty/>
</define>
</include>
... the rest of the grammar, including its start rule ...
</grammar>
In other words, we override the start rules from each included grammar with
empty
start rules, which then become (useless) alternatives for the including
grammar's
own start rule. IMHO there should be some less clunky way to do this, but the
above mechanism works.
--
Possession is said to be nine points of the law, John Cowan
but that's not saying how many points the law might have. [email protected]
--Thomas A. Cowan (law professor and my father)