METAL namespace

  1. metal:define-macro
  2. metal:use-macro
  3. metal:define-slot
  4. metal:fill-slot

URI for this namespace is To use metal: attribute prefix in XML you're required to declare it:

<html xmlns:metal="" …>


PHPTAL does not enforce this requirement.

METAL stands for 'Macro Extension for TAL'. This namespace allows template designers to define and call macros. Macros can be used to output data recursively or to include code from other template files.