XUL <template> reference

Contacts:
Robert Churchill (rjc@netscape.com)
David Hyatt (hyatt@netscape.com)
Chris Waterson (waterson@netscape.com)

This document is a reference guide for XUL templates. It assumes that you have a basic knowledge of the RDF data model, and a working knowledge of the XUL syntax. Of course, there is no better reference than the code, but that's probably impenetrable to just about everyone, especially the authors.

See also the XUL Template Primer for an overview of the extended template syntax. If you're new to XUL templates, the "primer" may be an better introduction to the basic concepts than this document.

Overview

Syntax

The datasources Attribute

Template

Content Generation

Sorting

Notes

Appendix 1: Examples

Example 1. A Menu

Example 2. A Tree Widget

Appendix 2: Ignored Attributes