What do you need to insert before the DOCTYPE declaration? In general,
putting content before the declaration is bad practice as it tends to
throw Internet Explorer into "quirks mode", leading to often
unpredictable results (see [0] for more information).
[0] http://stackoverflow.com/questions/941100/can-html-comments-appear-before-the-doctype-declaration
Mark A. Matienzo
Digital Archivist, Manuscripts and Archives, Yale University Library
Technical Architect, ArchivesSpace
On Fri, Sep 2, 2011 at 3:24 PM, Michele R Combs <[log in to unmask]> wrote:
> Anybody know a way to get something to output before the <!DOCTYPE when using an XSL style sheet to go from EAD to HTML? That is:
>
> need some stuff here
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
> <html>
> <body>
> ...
> </body>
> </html>
>
> Thanks --
>
> Michele
>
> +++++++++++++++
> Michele Combs.
> Librarian for Manuscripts and Archives Processing.
> Special Collections Research Center.
> Syracuse University.
> 315-443-2081.
> [log in to unmask]
>
|