|
/************************************************************************
Xport: XHTML Parsing & Objective Reporting Toolkit
Copyright (C) 2007 Mitchel Haas
This file is part of Xport.
Xport is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Xport is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Xport. If not, see <http://www.gnu.org/licenses/>.
For complete documentation on this library and alternative
licensing options, visit http://www.xportpro.com
Email questions, comments or suggestions to mitchel.haas@xportpro.com
************************************************************************/
#pragma once
#include <string>
namespace Xport
{
class xhtml_transitional;
template<typename T> struct tag_info;
}
class Xport::xhtml_transitional
{
public:
xhtml_transitional();
~xhtml_transitional();
static xhtml_tag_enum frameset_tag() { return invalid_tag; }
static void populate_tag_layout_styles(std::vector<tag_layout_style>& layout_styles);
static std::basic_string<char> get_doctype_decl_str() { return "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; }
static void populate_tag_traits(std::vector<tag_info<xhtml_transitional> >& tag_info_vec);
static void name(std::basic_string<char>& doctype_name) { doctype_name = "xhtml transitional 1.0"; }
static void name(std::basic_string<wchar_t>& doctype_name) { doctype_name = L"xhtml transitional 1.0"; }
};
#include ".\xhtml_transitional.inl"
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.