W3C home > Mailing lists > Public > public-appformats@w3.org > November 2006

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 02 Nov 2006 00:50:41 +1100
Message-ID: <4548A631.2020504@lachy.id.au>
To: public-appformats@w3.org

   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"
  <xbl:binding element="data|grid">
    <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 -->
     <xbl:div class="rows">
      <xbl:content includes="data|heading"/>
      <xbl:div class="body">
       <xbl:content includes="data|row:not([hidden])"/>

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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:50:05 UTC