Back to index

nordugrid-arc-nox  1.1.0~rc6
Functions
test.cpp File Reference
#include <fstream>
#include <arc/XMLNode.h>
#include "LDIFtoXML.h"

Go to the source code of this file.

Functions

int main (int, char *argv[])

Function Documentation

int main ( int  ,
char *  argv[] 
)

Definition at line 6 of file test.cpp.

                             {
  std::ifstream f(argv[1]);
  std::string ldif_base = "Mds-Vo-name=local,O=Grid";
  Arc::NS ns;
  Arc::XMLNode xml(ns,"LDIF");
  ARex::LDIFtoXML(f,ldif_base,xml);
  std::string s;
  xml.GetDoc(s);
  std::cout<<s<<std::endl;
  return 0;
}

Here is the call graph for this function: