[relaxng-user] Modules, start patterns, driver files, trang - sanity check

David Tolpin dvd at davidashen.net
Mon Feb 23 18:00:04 ICT 2004


> 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}




More information about the relaxng-user mailing list