W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] XML encoding of repeat blocks

From: Olav Junker Kjr <olav@olav.dk>
Date: Wed, 04 Aug 2004 14:41:28 +0200
Message-ID: <4110D978.1050903@olav.dk>
Im confused by the last example in section 5.4

<submission xmlns="uuid:d10e4fd6-2c01-49e8-8f9d-0ab964387e32">
  <repeat template="row" index="0"/>
  <field name="name_0" index="0">John Smith</field>
  <field name="count_0" index="0">2</field>
  <field name="name_1" index="0"></field>
  <field name="count_1" index="0">1</field>

The text says that a "repeat" element is inserted for each repeat block 
in the data set. Isn't there supposed to be two repeat-elements in the 
xml, one with index 0 and one with index 1 ?

Olav Junker Kj?r
Received on Wednesday, 4 August 2004 05:41:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC