Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The instance element contains the value associated with a form fieldís multiple instances. Fields encoded as an instance should also include the values of each instance as a hidden field. The hidden field should be appended with the index number for the instance. Thus if the field is "firstName" each instance would be named "firstName_1", "firstName_2", "firstName_3", etc...

Parent

  • field

Children

  • value

Attributes

  • None listed yet.
Code Block
Example needed.

...

The item element can be associated with a label that directly precedes it. The Schema requires that if one item in a list has an associated label, then all other items must have one as well. This mitigates the problem of loose connections between elements that is commonly encountered in XHTML, since every item in particular list has the same structure.

Parent

  • list

Children

  • hi

...

  • (any)
  • xref

...

  • (any)
  • figure

...

  • (any)
  • field

...

  • (any)
  • list

...

  • (any)

Attributes

  • id: optionalA (optional) A unique identifier of the element
  • n: optionalA (optional) A non-unique local identifier used to differentiate the element from its siblings
  • rend: optionalA (optional) A rendering hint used to override the default display of the element.
Code Block

<list n="list-example"
	id="XMLExample.list.list-example">
  <head> Example List </head>
   <item> This is the first item
	</item> <item> This is the second item with <hi ...>highlighted text</hi>,
	<xref ...> a link</xref> and an <figure
	...>image</figure>.</item>
  ...
  <list n="list-example2"
	id="XMLExample.list.list-example2">
    <head> Example List </head>
    <label>ITEM ONE:</label>
     <item> This is the first item
	</item>
    <label>ITEM TWO:</label>
     <item> This is the second item with <hi ...>highlighted
	text</hi>, <xref ...> a link</xref> and an <figure
	...>image</figure>.</item>
    <label>ITEM THREE:</label>
     <item> This is the third item with a <field ...> ... </field>
	</item>
    ...
  </list>
   <item> This is the third item in the list
	</item>
  ...
</list>

label

Text Container

Structural Element

...