---
title: "Doctyp transitional..."
url: "https://www.typo3.net/d/59230-doctyp-transitional"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage"]
created: "2007-03-11"
last_reply: "2007-03-18"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Doctyp transitional...

TYPO3 › TypoScript · 2 Antworten · gestartet 2007-03-11

## Eröffnungsbeitrag

**linajoy** · 2007-03-11 · [Beitrag #1](https://www.typo3.net/d/59230-doctyp-transitional/1)

Warum erzeugt folgenede Konfiguration:

```typoscript
config.doctype = xhtml_trans
config.xhtmlDoctype = xhtml_trans 1

# Default PAGE object:
page = PAGE
page.typeNum = 0
page.config.doctype = xhtml_trans
page.config.xhtmlDoctype = xhtml_trans
```

Blos folgenden Output? Ich kanns mir einfach nicht erklären!!!!

```html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-DE" lang="de-DE">
```

Verzweifelte Grüße Lina  #angry#

## Antworten

### [#2](https://www.typo3.net/d/59230-doctyp-transitional/2) · just2b · 2007-03-12

wenn das bei mir alleine im TS steht, dann wirds auch korrekt dargestellt.

```html
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
```

wirds vielleicht später überschrieben, cache mal löschen?

georg

### [#3](https://www.typo3.net/d/59230-doctyp-transitional/3) · linajoy · 2007-03-18

der codecleaner hat es strict gemacht  #angry#

---

Quelle: „Doctyp transitional...“, typo3.net, https://www.typo3.net/d/59230-doctyp-transitional
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
