[relaxng-user] combining schemas
Eric van der Vlist
vdv at dyomedea.com
Tue Nov 25 17:37:23 ICT 2003
On Tue, 2003-11-25 at 17:22, Bruce D'Arcus wrote:
>
> http://www.users.muohio.edu/darcusb/files/biblio-notes.rnc
> http://www.users.muohio.edu/darcusb/files/mods3.rnc
>
>
> ===============================
>
> include "biblio-notes.rnc" { start = ModsSchema }
>
> include "mods.rnc" {
> extension = element extension { biblio-notes }*
> }
Hmm....
>From what I understand, you want to have a start element equal to
"ModsSchema".
The simplest solution is to remove the definition of the start pattern
in biblio-notes.rnc and just write:
==============================================
include "biblio-notes.rnc"
include "mods.rnc" {
extension = element extension { biblio-notes }*
}
==============================================
If for any reason, you wanted to leave the definition of the start
pattern in biblio-notes.rnc, you could replace this by:
==============================================
include "mods.rnc" {
extension = element extension { external "biblio-notes.rnc" }*
}
==============================================
Hope this helps.
Eric
--
Rendez vous a Paris pour le Forum XML.
http://www.technoforum.fr/integ2003/
Upcoming XML schema languages tutorials:
- Philadelphia -full day- ( 7/12/2003) http://masl.to/?V28612FC5
- Santa Clara -half day- (15/03/2004) http://masl.to/?J24916E96
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
More information about the relaxng-user
mailing list