>> English << | По-русскиZVON > Tutorials > XInclude Tutorial
>> Example 2 << | Prev | Next | Contents

Attribute href


Description

The href attribute of the include element tells the processor which document fragment(s) should be included.

Valid example

The file a.xml includes whole file b.xml as XML.
File a.xml:
    <a> 
     <xi:include href="b.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"/>
    </a>
   

File b.xml:
				<b/>
			

File a.xml after processing:
    <a>
     <b/>
    </a>