ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/c++/XMLTest.cpp
Revision: 1.2
Committed: Mon Feb 26 14:42:43 2001 UTC (23 years, 6 months ago) by ab11
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
DELETED

File Contents

# User Rev Content
1 ab11 1.1 #include <iostream.h>
2     #include "XMLFormatter.h"
3    
4     int main(){
5    
6     // default constructor
7     XMLFormatter xml("bung");
8    
9     // add something
10     xml.addElement("Test1","Value1");
11     xml.addElement("Test2","Value2");
12     xml.addNest("BungLevel1");
13     xml.addElement("Test3","Value3");
14     xml.closeNest();
15    
16     // return what it did
17     std::cout << xml.returnXML() << "\n";
18    
19     // exit
20     return 0;
21    
22     }