<?xml version="1.0" encoding="UTF-8"?>

<!-- ==========================================================================
  XDoc extension for includes.
  
  This document defines an extension to Forrest XDoc version 2.0. 
  It provides the following additions: 
  
  * An include element by which to include other content instead of 
    hyperlinking to it.
  
  Examples:
  
    <include file="YOURLINK"/>: includes content from another document. 
      In case the other document is an xdoc document or a document
      conforming to this dtd,
      the content from within the body tag of the document is included.
      
    To include a source file as raw text into your document, use the 
    parse attribute, like this: ANY
    
    <source>
      <include parse="text" file="YOURLINK"/>
    </source>
    
  The include element also has an optional pointer attribute by 
  which a subset of the included document can be specified using
  xpointer syntax. 
  
  The correct method for declaring this document type in your XML files is
  <!DOCTYPE document PUBLIC "-//WAMBLEE.ORG//ENTITIES Include Extension for Xdoc V1//EN" "includeExtension-v1.dtd">
  
=======================================================================-->
  

<!ELEMENT include EMPTY> 
  <!ATTLIST include file CDATA #REQUIRED>
  <!ATTLIST include parse ( xml | text ) "xml">
  <!ATTLIST include pointer CDATA "xpointer(//body/*)" >
  
<!ENTITY % local.sections "| include">
<!ENTITY % local.inline "|include" >

<!ENTITY % forrest.xdoc PUBLIC
    "-//APACHE//ENTITIES Documentation V2.0//EN"
    "http://forrest.apache.org/dtd/document-v20.dtd">
%forrest.xdoc;



