Search code examples
xsltthemesplonexdv

Setting doctype for XDV theme


I have in my theme HTML file:

  <!DOCTYPE html>
  <html lang="en">

But in the page output I see (probably coming from main_template.pt):

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1  /DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

How can I use correct doctype information from my theme file?


Solution

  • See http://diazo.org/advanced.html?highlight=doctype#doctypes for how to do this in Diazo. I assume this also worked in XDV.

    ** EDIT: the change the links structure.. the current link is Diazo typeDoc