title: Drawing a user interface based on preferences
body: <p>I want to use the built-in preference system for my xulrunner (Firefox) application.  But I can't figure out how to easily drive the user interface based on preferences.</p>
  
  <p>The user can specify a list of home pages, and each home page will show up in a different tab.  Because the tabs are in the presentation layer, I'd like to create them using a template in the xul code.  Is this possible?</p>
  
  <p>I haven't seen a way to do this with xul templates.  Is there an alternative templating system that would allow me to change the UI based on user preferences?</p>