<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=XInclude</id>
	<title>XInclude - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=XInclude"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=XInclude&amp;action=history"/>
	<updated>2026-05-14T06:18:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=XInclude&amp;diff=418502&amp;oldid=prev</id>
		<title>92.191.139.101: Undid revision 1272787158 by 117.193.94.107 (talk)</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=XInclude&amp;diff=418502&amp;oldid=prev"/>
		<updated>2025-04-07T08:23:19Z</updated>

		<summary type="html">&lt;p&gt;Undid revision &lt;a href=&quot;/wiki143/index.php?title=Special:Diff/1272787158&quot; title=&quot;Special:Diff/1272787158&quot;&gt;1272787158&lt;/a&gt; by &lt;a href=&quot;/wiki143/index.php?title=Special:Contributions/117.193.94.107&quot; title=&quot;Special:Contributions/117.193.94.107&quot;&gt;117.193.94.107&lt;/a&gt; (&lt;a href=&quot;/wiki143/index.php?title=User_talk:117.193.94.107&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:117.193.94.107 (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;XInclude&amp;#039;&amp;#039;&amp;#039; is a generic mechanism for merging [[XML]] documents, by writing inclusion tags in the &amp;quot;main&amp;quot; document to automatically include other documents or parts thereof.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
|url=http://www.w3.org/TR/xinclude/#examples&lt;br /&gt;
|title=XML Inclusions (XInclude) Version 1.0 (Second Edition), Appendix C: Examples (non-normative)&lt;br /&gt;
|author1=J. Marsh |author2=D. Orchard |author3=Daniel Veillard |publisher=[[World Wide Web Consortium]]&lt;br /&gt;
|access-date=2007-06-28&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; The resulting document becomes a single composite [[XML Information Set]]. The XInclude mechanism can be used to incorporate content from either XML files or non-XML text files.&lt;br /&gt;
&lt;br /&gt;
XInclude is not natively supported in Web browsers, but may be partially achieved by using some extra [[JavaScript]] code.&amp;lt;ref&amp;gt;&lt;br /&gt;
{{cite web&lt;br /&gt;
 |url=https://developer.mozilla.org/en/docs/XInclude&lt;br /&gt;
 |title=XInclude&lt;br /&gt;
 |author1=((Brettz9))&lt;br /&gt;
 |author2=rolfedh|author3=klez|author4=teoli&lt;br /&gt;
 |display-authors=1&lt;br /&gt;
 |publisher=[[Mozilla Developer Network]]&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
For example, including the text file &amp;lt;code&amp;gt;license.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 This document is published under GNU Free Documentation License&lt;br /&gt;
&lt;br /&gt;
in an [[XHTML]] document:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;br /&gt;
      xmlns:xi=&amp;quot;http://www.w3.org/2001/XInclude&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;head&amp;gt;...&amp;lt;/head&amp;gt;&lt;br /&gt;
   &amp;lt;body&amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
      &amp;lt;p&amp;gt;&amp;lt;xi:include href=&amp;quot;license.txt&amp;quot; parse=&amp;quot;text&amp;quot;/&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
   &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;br /&gt;
      xmlns:xi=&amp;quot;http://www.w3.org/2001/XInclude&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;head&amp;gt;...&amp;lt;/head&amp;gt;&lt;br /&gt;
   &amp;lt;body&amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
      &amp;lt;p&amp;gt;This document is published under GNU Free Documentation License&amp;lt;/p&amp;gt;&lt;br /&gt;
   &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mechanism is similar to [[HTML]]&amp;#039;s &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; tag (which is specific to the HTML [[markup language]]), but the XInclude mechanism works with any XML format, such as [[Scalable Vector Graphics|SVG]] and [[XHTML]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[XPath]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.w3.org/TR/xinclude/ XInclude Standard]&lt;br /&gt;
* [http://www.xml.com/pub/a/2007/03/28/xinclude-processing-in-xslt-with-xipr.html XInclude with XSLT]&lt;br /&gt;
* [http://xerces.apache.org/xerces2-j/faq-xinclude.html Using XInclude in Xerces]&lt;br /&gt;
* [https://www.xml.com/pub/a/2002/07/31/xinclude.html Using XInclude] article by Elliotte Rusty Harold&lt;br /&gt;
&lt;br /&gt;
{{W3C standards}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Xinclude}}&lt;br /&gt;
[[Category:XML-based standards]]&lt;/div&gt;</summary>
		<author><name>92.191.139.101</name></author>
	</entry>
</feed>