• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
Firefox
  1. MDN
  2. Mozilla
  3. Firefox
  4. Firefox developer release notes
  5. Firefox 3 for developers
  6. Templates in Firefox 3

Templates in Firefox 3

In This Article
    1. Other template improvements
    2. See also

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

  • Firefox 3 for developers

Document Tags and Contributors

Tags: 
  • Firefox 3
  • NeedsContent
  • NeedsHelp
 Contributors to this page: teoli, ethertank, jswisher, fscholz, Mgjbot, MarkFinkle, Sheppy
 Last updated by: ethertank, Apr 28, 2013, 10:03:28 PM
  1. Add-ons
    1. Firefox developer release notes
    2. Add-ons
    3. Add-on guidelines
    4. Add-on Manager
    5. Extensions
    6. OpenSearch plug-ins
    7. Plugins
    8. Themes
  2. Firefox internals
    1. Firefox developer release notes
    2. Mozilla project
    3. Gecko
    4. JavaScript code modules
    5. JS-ctypes
    6. MathML project
    7. MFBT
    8. Mozilla projects
    9. Preference system
    10. WebIDL bindings
    11. XPCOM
    12. XUL
  3. Building and contributing
    1. Build instructions
    2. Configuring build options
    3. How the build system works
    4. Mozilla source code
    5. Localization
    6. Mercurial
    7. Quality assurance
    8. Using Mozilla code in other projects