Wählen Sie Ihre Sprache:

<we:docType>

Since version: 4.0 | Requires endtag: no

Description

This tag returns the document type of a webEdition document.

Attributes

doc

Default value: top | since version: 4.0 | required: no

Setting this attribute to "self" will cause the tag to return the document type of the webEdition document in which the tag originates, even if it has been included into another document (see <we:include>). Setting this attribute to "top" will cause the tag to return the document type of the main webEdition document, even if the tag itself actually originates in a document which has been included (see <we:include>).

Allowed values:

  • top
  • self

cachelifetime

Default value: 0 | since version: 4.2.0.0 | required: no

With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.


Syntax

<we:docType [doc="top|self"] [cachelifetime="attribute"] />

Examples

Example

<we:docType doc="self" />