新生的 XInclude
前几天看Don Box 的Blog,有篇叫All I want for Christmas is an XInclude 1.0 Full Rec 的帖子。首次看到了XInclude,也没有仔细看。
今天,我看W3C,才看到这个文档——XML Inclusions (XInclude) Version 1.0
他的介绍是这样的:
今天,我看W3C,才看到这个文档——XML Inclusions (XInclude) Version 1.0
他的介绍是这样的:
Many programming languages provide an inclusion mechanism to facilitate modularity. Markup languages also often have need of such a mechanism. This specification introduces a generic mechanism for merging XML documents (as represented by their information sets) for use by applications that need such a facility. The syntax leverages existing XML constructs - elements, attributes, and URI references.
大概是说:
很多程序设计语言提供一种包含机制,以便增强语言的模块性。标记语言通常也需要这样的一种机制。这个规范提供了一种通用的机制来实现XML文档的归并以方便应用程序使用。