{{name}}

<{{ name }} {% if attributes %}
{% for attr in attributes %}
{% if attr.default = "required" %}{{ attr.name }}{% else %}{{ attr.name }}{% endif %} = {% if attr.type = "enumeration" %}( {{attr.values|join:", "}} ){% elif attr.type = "cdata" %}alphanumeric{% else%}{{ attr.type }}{% endif %} {% if attr.defaultvalue %}
(default: '{{ attr.defaultvalue }}'){% endif %}
{% endfor %}
{% endif %} {% if content %}
>
{% else %}
>
{% endif %} {% if content %}

Content:

{{content|safe}}

{% endif%}

example:

<{{name}} {% for attr in attributes %} {% if attr.default = "required" %}{{attr.name}}="{% if attr.type = "enumeration" %}{{attr.values.0}}{%else%}..." {% endif%}{% endif %}{% endfor%}{% if not content %}/>{% else %}>
...
</{{name}}> {%endif%}
Examples in demos ...