<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 24: ready-made doctype declarations</title><link>https://sourceforge.net/p/cppcms/feature-requests/24/</link><description>Recent changes to 24: ready-made doctype declarations</description><atom:link href="https://sourceforge.net/p/cppcms/feature-requests/24/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 09 Aug 2013 10:56:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cppcms/feature-requests/24/feed.rss" rel="self" type="application/rss+xml"/><item><title>ready-made doctype declarations</title><link>https://sourceforge.net/p/cppcms/feature-requests/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Since much of the generated content in CppCMS is html, could the framework include methods or constants to output the doctype declarations and the xmlns attribute from xhtml 1.0 ?&lt;/p&gt;
&lt;p&gt;Something like&lt;br /&gt;
         getDoctype("html", "4.01", "strict")&lt;br /&gt;
         getDoctype("xhtml", "1.0")&lt;br /&gt;
         getDoctype("xhtml", "1.0", "transitional")&lt;br /&gt;
         getXmlNs('xhtml')                 // "http://www.w3.org/1999/xhtml"&lt;br /&gt;
         getXmlDecl(encoding, ver)         // &amp;lt;?xml ver="1.0" encoding="UTF-8"&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Timothy Madden</dc:creator><pubDate>Fri, 09 Aug 2013 10:56:40 -0000</pubDate><guid>https://sourceforge.net75f22d235b5e3660fc929f48f7639e05344aab04</guid></item></channel></rss>