
21 Apr
2006
21 Apr
'06
7:48 a.m.
Marcin Kalicinski wrote:
XML itself may not have a notion of inclusions,
It has more than a notion of includes, there's a whole spec:
http://www.w3.org/TR/xinclude/
We use this all the time in BoostBook xml docs -- example from the date_time docs...
<xi:include href="conceptual.xml"/> <xi:include href="usage_examples.xml"/> <xi:include href="gregorian.xml"/>
It seems XML is even more complicated I thought it is, then ;-) If this is standard, it may be quite easy to implement includes in XML parser.
So, are you gonna roll namespace-aware XML parser? This is not trivial either, since there are things like default namespace and so on. - Volodya