ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/GoogleTron.cpp
(Generate patch)

Comparing GoogleTron/GoogleTron.cpp (file contents):
Revision 672 by douglas, 2006-03-02T17:47:49-08:00 vs.
Revision 673 by douglas, 2006-03-02T21:17:01-08:00

# Line 6 | Line 6
6  
7   #include <cxx/standard.hh>
8  
9 + #include <api/process.hpp>
10   #include <app/simple.hpp>
11 + #include <xml/textwriter.hpp>
12  
13   int Main(const app::Options &options)
14   {
15 +        _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          return 0;
21   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines