]> Creatis software - STMS.git/blob - Src/test_parseXML.cxx
V 1.5
[STMS.git] / Src / test_parseXML.cxx
1 //#include <string>
2 //#include "itkDOMNodeXMLReader.h"
3 //#include "itkFancyString.h"
4
5 #include <string>
6 #include "itkSTMS_XMLFileParser.h"
7
8 int main(int argc, char **argv)
9 {
10     std::string fileName = "/run/media/mure/HDD/Recherche/These/CVS/Mure/Dev/Cpp/STMS/Data/G1_Parser.xml";
11
12     itkSTMS::itkSTMS_XMLFileParser* parser = new itkSTMS::itkSTMS_XMLFileParser();
13     parser->SetFileName( fileName );
14     parser->Update();
15
16     itkSTMS::ParserOutputType* expDescritpion = parser->GetXMLParams();
17
18     std::cout << expDescritpion->experimentPath <<std::endl;
19
20
21
22     delete parser;
23     return EXIT_SUCCESS;
24 }