4 |
|
// |
5 |
|
// $Id$ |
6 |
|
|
7 |
< |
#include <menes/cxx/standard.hh> |
7 |
> |
#include <cxx/standard.hh> |
8 |
|
|
9 |
< |
#include <menes/api/pcre/regex.hpp> |
10 |
< |
#include <menes/api/exename.hpp> |
11 |
< |
#include <menes/app/simple.hpp> |
9 |
> |
#include <api/pcre/regex.hpp> |
10 |
> |
#include <api/exename.hpp> |
11 |
> |
#include <app/simple.hpp> |
12 |
|
|
13 |
|
#include "SiteMapper.hpp" |
14 |
|
|
168 |
|
_S<ios::FormatWriter> fout(file); |
169 |
|
_S<xml::TextWriter> xml(file); |
170 |
|
|
171 |
+ |
// XXX: xml::TextWriter should have this kind of stuff, no? |
172 |
|
fout << ios::NewLine << _B("<?xml-stylesheet type=\"text/xsl\" href=\"stylesheets/sitemap.xsl\"?>") << ios::NewLine << _B("<!DOCTYPE page SYSTEM \"stylesheets/page.dtd\">"); |
173 |
|
|
174 |
|
xml.OutputComment(comment); |