[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Define a root in a DTD
- From: Murali Mani <mani@CS.UCLA.EDU>
- To: James Clark <jjc@jclark.com>
- Date: Tue, 26 Jun 2001 23:27:30 -0700 (PDT)
On Wed, 27 Jun 2001, James Clark wrote:
> You still have the same flexibility that you have with DTDs because of
> RELAX NG's <include> mechanism. When you include the grammar you can
> replace the start by putting the replacement <start> inside the <include>
> (a bit like with a DTD internal subset):
>
> <grammar>
>
> <include href="list.rng">
> <start>
> <ref name="Item"/>
> </start>
> </include>
>
> </grammar>
Can I ask a quick question -- If I am correct, in RELAX, if you specify in
grammar G2 with roots R2 <include href="G1"> where G1 has roots R1, then
in effect the root symbols of G2 is R1 + R2 ..??
How is it in RELAX NG ?? Is it the same ??
thanks and regards - murali.