1 |
douglas |
672 |
// Google Tron |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// $Id$ |
6 |
|
|
|
7 |
|
|
#include <cxx/standard.hh> |
8 |
|
|
|
9 |
douglas |
673 |
#include <api/process.hpp> |
10 |
douglas |
672 |
#include <app/simple.hpp> |
11 |
douglas |
673 |
#include <xml/textwriter.hpp> |
12 |
douglas |
672 |
|
13 |
|
|
int Main(const app::Options &options) |
14 |
|
|
{ |
15 |
douglas |
673 |
_S<xml::TextWriter> writer(api::Cout); |
16 |
|
|
xml::ScopeElement urlset(writer, _B("urlset")); |
17 |
|
|
|
18 |
|
|
writer.SetAttribute(_B("xmlns"), _B("http://www.google.com/schemas/sitemap/0.84")); |
19 |
|
|
|
20 |
douglas |
672 |
return 0; |
21 |
|
|
} |