[%- 
    DEFAULT name="Layer1" visible="true"
%]
  <dia:layer name="[% name %]" visible="[% visible %]">
  [% content %]
  </dia:layer>