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

Comparing Represent/Represent.cpp (file contents):
Revision 387 by douglas, 2004-12-24T03:17:21-08:00 vs.
Revision 388 by douglas, 2004-12-24T03:31:12-08:00

# Line 28 | Line 28 | Represent::Represent()
28   {
29          api::Cout << "Content-Type: text/html; charset=UTF-8\r\n\r\n" << ios::Flush;
30  
31 +        xml::TextWriter xhtml(api::Cout);
32 +
33          parse();
34  
35          _H<xml::Document> document(xml::Parse("represent.xml"));
36          _H<xml::Node> node(*document/"represent");
37          ext::String before(*node/"before"), after(*node/"after");
38  
39 <        api::Cout << before << ios::Flush;
38 <
39 <        xml::TextWriter xhtml(api::Cout);
39 >        api::Cout << ios::NewLine << before << ios::Flush;
40  
41          {
42                  xml::ScopeElement table(xhtml, "table");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines