WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

Index

Example: Generate a list of items

This is the simplest and most common template using the simple syntax, in which we iterate over a list of children.

View   View Data Source

<vbox datasources="animals.rdf" ref="http://www.some-fictitious-zoo.com/mammals">
  <template>
    <label uri="rdf:*" value="rdf:http://www.some-fictitious-zoo.com/rdf#name"/>
  </template>
</vbox>