[relaxng-user] combining schemas

John Cowan cowan at mercury.ccil.org
Tue Nov 25 12:33:26 ICT 2003


Eric van der Vlist scripsit:

> If you want to include inc1.rnc and keep only the definition of the
> start element in inc2.rnc, you can write:
> 
> 
> +++++++++++++++++++++++++++
> include "inc1.rnc" {
> 	start |= notAllowed
> }
> include "inc2.rnc"
> +++++++++++++++++++++++++++

Very clever.  This should go in a FAQ somewhere.

-- 
John Cowan  jcowan at reutershealth.com  www.ccil.org/~cowan  www.reutershealth.com
"If I have seen farther than others, it is because I am surrounded by dwarves."
        --Murray Gell-Mann


More information about the relaxng-user mailing list