left up right
Active versus Passive
Active
  • Order of element processing controlled by user
  • Better control of how the information is extracted
  • More complex templates
  • Less constrained on well-formedness of the output
Passive
  • Built-in template controls processing order
    • Order is document order
  • Simple separate templates
  • But each must be well formed
  • Limits the applicability
  • Quite similar to a CSS style sheet approach

Often a mixed approach is used

Further control can be provided via sorting and conditionals