Next in thread → Next in month →

Re: externalRef versus include

From
Kohsuke KAWAGUCHI <>
Date
2001-09-14T23:18:01+00:00
ID
Thread
Re: externalRef versus include
> Maybe the tutorial needs to say something about <externalRef> versus
> <include>, or at least this topic should be covered in the FAQ.

It sounds like a nice topic to cover in our FAQ. Or maybe we can have a
document that describes various techniques and discuss the use cases of
<externalRef> and <include> there.


> Am I right in assuming that the only circumstance where you would *have*
> to use <include> instead of <externalRef> is when you want to combine
> definitions from multiple grammars (using the "combine" attribute)?

I think <include> is also useful when

* modularizing a schema into many small pieces (like XHTML m12n.)
* you want to use multiple declarations in the included file and you
  don't need to worry about the name collision.



regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   
Next in thread → Next in month →