<?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 Suite: xbl:text test</title>
    <style type='text/css'>
    </style> 
    <xbl:xbl>
     <xbl:binding id="labelToText" element=".texter">
      <xbl:template>
       <xhtml:span xbl:attr="xbl:text=label" />
      </xbl:template>
     </xbl:binding>
     <xbl:binding id="labelToText" element=".errter">
      <xbl:template>
       <!-- in error: ignore -->
       <xhtml:span xbl:attr="xbl:text=label">
       There is text inside, ignore xbl:text
       </xhtml:span>
      </xbl:template>
     </xbl:binding>
    </xbl:xbl>
  </head>
  <body>
   <div class="texter" label="OK" />
   <div class="errter" label="Error" />
  </body>
</html>
