to the main page about the tutorial  THE XML REVOLUTION  -  TECHNOLOGIES FOR THE FUTURE WEB back up next

An XInclude example

A document containing:
<foo xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="somewhere.xml"/>
</foo>

where somewhere.xml contains:
<bar>...</bar>

is equivalent to:
<foo xmlns:xi="http://www.w3.org/2001/XInclude">
  <bar>...</bar>
</foo>

back COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH next