---
title: "config.doctype = xhtml_trans"
url: "https://www.typo3.net/d/56439-configdoctype-xhtml-trans"
source: "typo3.net"
tags: ["Frontend","Barrierefreiheit","Frage"]
created: "2007-01-18"
last_reply: "2007-01-18"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# config.doctype = xhtml_trans

Frontend › Barrierefreiheit · 3 Antworten · gestartet 2007-01-18

## Eröffnungsbeitrag

**Bristow** · 2007-01-18 · [Beitrag #1](https://www.typo3.net/d/56439-configdoctype-xhtml-trans/1)

Irgendwie will mein Typo3 4.0 nicht auf xhtml_trans umstellen

bei folgender eingabe

```typoscript
config {
	doctype = xhtml_trans
	xmlprologue = none
	htmlTag_langKey = de_DE
	xhtml_cleaning = all
}
```

führt immernoch zu

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "<http://www.w3.org/TR/html4/strict.dtd>">

Da mein Code nicht strict ist, kommt es zu Validierungsfehlern. Ich will halt trans als doctype
Habt Ihr einen Tipp für mich?

## Antworten

### [#2](https://www.typo3.net/d/56439-configdoctype-xhtml-trans/2) · einpraegsam.​net · 2007-01-18

> **Bristow schrieb:**
>
> ```typoscript
> config {
> 	doctype = xhtml_trans
> 	xmlprologue = none
> 	htmlTag_langKey = de_DE
> 	xhtml_cleaning = all
> }
> ```

page.config.doctype - nicht config.doctype

### [#3](https://www.typo3.net/d/56439-configdoctype-xhtml-trans/3) · Bristow · 2007-01-18

Hallo

```typoscript
page.config.doctype = xhtml_trans
```

war es leider auch nicht.
Gibt es noch eine andere Stelle bei Typo, wo diese Einstellung standartmäßig vorgenommen wird? Irgendwie beim Install oder so?

### [#4](https://www.typo3.net/d/56439-configdoctype-xhtml-trans/4) · Bristow · 2007-01-18

OK ich hatte die Ext source_optimization installiert. Wenn man da in den Typoscript Objectbrowser geht, gibts die Constante replace doctype und da war static fest vorgegeben. Ich vermute diese Einstellung hat alles überschrieben.

---

Quelle: „config.doctype = xhtml_trans“, typo3.net, https://www.typo3.net/d/56439-configdoctype-xhtml-trans
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
