<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'
 	     xmlns:xbl='http://www.w3.org/ns/xbl'
	     xmlns:xhtml='http://www.w3.org/1999/xhtml' >
 <head>
  <title>XBL 2.0 Test: Template test - coloring</title>
  <xbl xmlns="http://www.w3.org/ns/xbl">
   <binding element="body">
    <template>    
     <div id="navid"><content includes=".nav"/></div> 
    </template>
    <resources>
     <style>
	  #navid { color: green; }
     </style>
    </resources>
   </binding>
  </xbl>
 </head> 
 <body>
  <div class="main">
   <h1>A header  -- part of "main" div class</h1>
   <p> Text here   -- part of "main" div class </p>
  </div>
  <div class="nav">
   <p><a href="http://thisleadstonowhere.com/">This is a hyperlink</a>  -- part of "nav" div class</p>
   <p> Text in here too  -- part of "nav" div class </p>
  </div>  
  <p><b> Info on the test:</b> The parts of "nav" div class should be colored green, this is not so in the original xhtml file, this
 is achieved via the template. </p>  
 </body>
</html>

