G
ginguene
hello
I have a configuration file for my program. This file contains some
list of files, and some other random infos like this :
<pdod>
<Project>
<Name>My Project Name</Name>
<Id>4242</Id>
</Project>
<Config>
<Platform>All</Platform>
<OutputType>Dll</OutputType>
<AssemblyName>MyDll</AssemblyName>
<CompileFiles>
<File dir="./">file.c</File>
<File dir="./">file2.c</File>
<File dir="./">file3.c</File>
</CompileFiles>
<References>
<File>include.h</File>
<File>library.dll</File>
</References>
</Config>
<File dir="./">file.c</File>
<File dir="./">file2.c</File>
<File dir="./">file3.c</File>
<File dir="./">file4.xml</File>
<File dir="./include/">include.h</File>
<File dir="./">library.dll</File>
</pdod>
I m gonna need to add, edit and remove files name contained in this
conf xml file, and modify other infos
I was wondering which method should i use?
XML Serialize or XMLtextreader /writer ?
My only requirement is *processing speed*, so which method is the
fastest?
thanks
I have a configuration file for my program. This file contains some
list of files, and some other random infos like this :
<pdod>
<Project>
<Name>My Project Name</Name>
<Id>4242</Id>
</Project>
<Config>
<Platform>All</Platform>
<OutputType>Dll</OutputType>
<AssemblyName>MyDll</AssemblyName>
<CompileFiles>
<File dir="./">file.c</File>
<File dir="./">file2.c</File>
<File dir="./">file3.c</File>
</CompileFiles>
<References>
<File>include.h</File>
<File>library.dll</File>
</References>
</Config>
<File dir="./">file.c</File>
<File dir="./">file2.c</File>
<File dir="./">file3.c</File>
<File dir="./">file4.xml</File>
<File dir="./include/">include.h</File>
<File dir="./">library.dll</File>
</pdod>
I m gonna need to add, edit and remove files name contained in this
conf xml file, and modify other infos
I was wondering which method should i use?
XML Serialize or XMLtextreader /writer ?
My only requirement is *processing speed*, so which method is the
fastest?
thanks