Re: is there an "xml-include"

This is a means to separate out a schema into multiple files, if I understand Gregor correctly he's asking for a way to test for id/keyref uniqueness across multiple files? If so, then you can include chunks of XML in other documents using the dtd entity mechanism -- which is what I believe he has already tried. I don't believe there's actually an equivalent for XML Schema: you still need a DTD. At a higher level there is XInclude which allows for including content from one document into another. Not sure on current support for this however. (Assuming I'm on the right track) You may want to consider using an additional validation mechanism here, such as XLinkIt [1] which can make assertions (e.g. id uniqueness) across multiple documents. Hope that helps, [1]. http://www.xlinkit.com/main.html
participants (1)
-
Leigh Dodds