[relaxng-user] combining schemas

Bruce D'Arcus bdarcus at fastmail.fm
Tue Nov 25 11:22:13 ICT 2003


On Tuesday, November 25, 2003, at 11:11  AM, John Cowan wrote:

> Without all your schemas, there's no hope of figuring it out.

Ok, I've placed them here:

http://www.users.muohio.edu/darcusb/files/biblio-notes.rnc
http://www.users.muohio.edu/darcusb/files/mods3.rnc

The latter schema was converted from XML Schema* with the Sun 
conversion tool.  I had to tweak the resulting RNG schema a bit to get 
it to work.

Here's the current combined-schema-that-doesn't-work, which I am 
calling mods-bn.rnc:

===============================

include "biblio-notes.rnc" { start = ModsSchema }

include "mods.rnc" {
    extension = element extension { biblio-notes }*
}

===============================

Thanks,
Bruce

* Original schema is at 
http://www.loc.gov/standards/mods/v3/mods-3-0-draft-oct-9.xsd



More information about the relaxng-user mailing list