[XBL] Error: Non-Well-Formed XML Example

Hi,
   In section 2.5, the content element, the first example [1] is not 
well-formed.   You've accidentally mistyped end tags like 
<xbl:/template> instead of </xbl:template>, and others.  Here's the 
corrected markup.

<xbl:xbl xmlns:xbl="http://www.w3.org/ns/xbl"
          xmlns:data="http://example.com/data-language">
  <xbl:binding element="data|grid">
   <xbl:template>
    <xbl:div class="caption" xbl:inherits="xbl:text=title"/>
    <xbl:div class="outer-table">
     <xbl:div class="columns">
      <xbl:content includes="data|column">
       <!-- default to have just one column if none are declared -->
       <data:column/>
      </xbl:content>
     </xbl:div>
     <xbl:div class="rows">
      <xbl:content includes="data|heading"/>
      <xbl:div class="body">
       <xbl:content includes="data|row:not([hidden])"/>
      </xbl:div>
     </xbl:div>
    </xbl:div>
   </xbl:template>
   ...
  </xbl:binding>
  ...
</xbl:xbl>

[1] http://www.w3.org/TR/2006/WD-xbl-20060907/#content-element-example

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Wednesday, 1 November 2006 13:51:06 UTC