OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: externalRef versus include


I'm having a hard time fully understanding the difference between <externalRef> and <include>. I realize <include> can only appear as a child of a <grammar> element whereas <externalRef> is not limited in this way. On the other hand, I'm not sure when you would want to use <include> but not <externalRef>. 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)?
 
Maybe the tutorial needs to say something about <externalRef> versus <include>, or at least this topic should be covered in the FAQ.
 
Josh

Joshua Lubell, NIST
100 Bureau Drive, Stop 8263
Gaithersburg MD 20899-8263 USA
(301) 975-3563
lubell@nist.gov


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC