Re: Modules, start patterns, driver files, trang - sanity check

David Tolpin <[email protected]> Mon, 23 Feb 2004 18:00:04 +0400 (AMT)
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
> File A.rnc - a standalone schema and a module
>          A = element a { text }
>          start = A
>
> File B.rnc - a standalone schema and a module
>          B = element b { text }
>          start = B
>
> File AB.rnc - a standalone schema and a module. It includes two 
> sub-modules, A and B
>          include "a.rnc" { start = AB }
>          include "b.rnc" { start = AB }
>
>          AB = element ab { A , B }
>          start = AB

File AB.rnc

include "a.rnc" {start|=notAllowed}
include "b.rnc" {start|=notAllowed}

AB = element ab {A, B}