Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Templates in Firefox 3

Templates have been significantly improved in Firefox 3. The key improvement allows the use of custom query processors to handle other types of datasources besides RDF. A new query syntax makes this possible. Built-in support for SQL (mozStorage) and XML datasources is also provided. A full description of the new features available for templates is available. (bug 285631)

Other template improvements

  • Relational conditions have been added to allow for more precise control over what results match a rule. This allows, for example, matching of results that start or end with certain strings, or that are before or after other values.
  • A flag, dont-recurse, has been added to prevent recursion from happening such that only one level of results are generated
  • APIs have been added to the template builder to retrieve a result object representing an output item.
  • The XUL sort service is more robust and sorts both content and non-content trees better. It also allows sorting of non-template built content. (bug 335122)

See also

Document Tags and Contributors

 Contributors to this page: teoli, ethertank, jswisher, fscholz, Mgjbot, MarkFinkle, Sheppy
 Last updated by: ethertank,