TEIC / TEI

The Text Encoding Initiative Guidelines
https://www.tei-c.org
Other
268 stars 88 forks source link

Guidelines are HTML5, but examples pages are still in xhtml1.1 transitional #2508

Closed martindholmes closed 1 month ago

martindholmes commented 7 months ago

While the majority of the Guidelines pages (ref pages, chapters and so on) are (X)HTML5 with an HTML5 doctype, the examples pages are for some reason still rendered into XHTML1.1 transitional.

martindholmes commented 4 months ago

I believe that if guildelines.xsl.model was tweaked to change all instances of this:

<xsl:result-document doctype-public="{$doctypePublic}"
                         omit-xml-declaration="yes"                     
                         doctype-system="{$doctypeSystem}" 
                         encoding="{$outputEncoding}"
                         href="{$outputDir}/index-toc.html" 
                         method="{$outputMethod}">

to match what is found in Stylesheets odds/guidelines.xsl:

<xsl:result-document html-version="{$htmlVersion}"
                           normalization-form="{$normalizationForm}"
                           encoding="{$outputEncoding}"
                           href="{$outputDir}/examples-{$me}.html"
                           method="{$outputMethod}"
                           omit-xml-declaration="{$omitXMLDeclaration}">

then the problem would probably be fixed. odds/guidelines.xsl is imported into guidelines.xsl.model anyway, so those variables are all available.