[Typo3-dev] Doctype - XML Prolog

Gordon Mickel [MKB] g.mickel at mkb.net
Wed Feb 18 22:50:37 CET 2004


Hi Ingmar

Kaspar beat us to it here as well ;), changelog from the 12.2.04 CVS 
version:

And finally the "doctype" option fed with a value that is not "xhtml_fra
mes", "xhtml_trans" or "xhtml_strict" will be outputted AS the doctype!

I would still love an easy option (config.doctypeNoProlog or something) 
to remove the xml prolog as it such common practice and would save me 
entering the whole doctype thing in every project I start.

Greetz
Gordon


Ingmar Schlecht wrote:

> ben van 't ende [netcreators] wrote:
> 
>> Kasper wrote:
>>
>>> If people want this reversed version they can set
>>> "config.doctypeSwitch=1"
> 
> 
> IMHO changing the position of the first two lines doesn't make much 
> sense. Either print the <?xml ...> at the very top, or leave it out 
> completely.
> 
> But why not introduce an option like
>     config.altDoctype = <!DOCTYPE my doctype definition>
> 
> Wouldn't that solve even more problems?
> 
> cheers,
> Ingmar




More information about the TYPO3-dev mailing list