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

Attribute parse = text


Description

If the parse attribute of the include element is set to 'text', the included file (or its fragments) will be included as sequence of characters.

Valid example

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

File b.xml:
				<b/>
			

File a.xml after processing:
    <a>
     &lt;b/&gt;
    </a>