Ignore:
Timestamp:
06/18/10 14:33:19 (14 years ago)
Author:
hozdoba
Message:

Début de prise en charge des références (sans contrÎle ni transmission d'attribut pour le moment).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/main_cpp.cpp

    r107 r108  
    1212   { 
    1313      string file("/local/XMLIOSERVER_DEV/dev_rv/test/iodef_test.xml"); 
     14      //string file("/local/XMLIOSERVER_DEV/dev_rv/iodef_test.xml"); 
    1415 
    15       //string file("/local/XMLIOSERVER_DEV/dev_rv/iodef_test.xml"); 
    1616      ifstream istr( file.c_str() , ifstream::in ); 
    1717 
    1818      // On commence la lecture du flux de donnée xml qui doit posséder pour racine un unique noeud nommé "simulation". 
    19       XMLNode node = XMLNode::CreateNode(istr, "simulation"); 
     19      XMLNode node = XMLNode::CreateNode(istr, Context::GetRootName()); 
    2020      // On parse le fichier xml noeud par noeud (ie on construit dynamiquement notre arbre d'objets). 
    2121      XMLParser::Parse(node); 
     
    2626      // On poursuit le traitement ... 
    2727 
    28       // On écrit l'arborescence resultante du traitement sur la sortie. 
     28      // On écrit l'arborescence résultante du traitement sur la sortie. 
    2929      Context::ShowTree(std::clog); 
    3030 
Note: See TracChangeset for help on using the changeset viewer.