1
// file : CCF/Example/CodeGenerationKit/Indentation/IDL/indent_idl.cpp
2
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
3
// cvs-id : indent_xml.cpp,v 1.3 2003/12/22 22:26:40 boris Exp
5
#include "CCF/CodeGenerationKit/IndentationXML.hpp"
6
#include "CCF/CodeGenerationKit/IndentationImplanter.hpp"
16
Indentation::Implanter<Indentation::XML> guard (cout);
18
cout << "<?xml version=\"1.0\"?>" << endl;
19
cout << "<!DOCTYPE corbacomponent SYSYEM \"corbacomponent.dtd\">" << endl << endl;
21
cout << "<atag>whatever</atag>" << endl;
23
cout << "<open>" << endl;
24
cout << "<openother>" << endl;
25
cout << "<openother \nlabel=\"<<<<<<<<<>><>\">" << endl;
26
cout << "text" << endl;
27
cout << "<taginitself/>" << endl;
28
cout << "</openother>" << endl;
29
cout << "</openother>" << endl;
30
cout << "</open>" << endl;