[xml] libxml2 support data=> xml?



Dear Everyone:
I have a urgent question about data="" xml with xmllib2 library.
    I worked for a medical intrument company. My boss told me to put
    some datas into xml format.
 
For example,
Old datas,
   int var1=3;
   int var2=5;
Now xml formated string:
"     <name>var1</name>
      <value>3</value>
       ...
      <name>var1</name>
      <value>3</value>
"
    xmllib2 has such functions? If yes, their names?
    I read the document and examples and study some books about xml but got
no idea.
    Tomorrow I have to report to my boss whether use libxml2 or not?
    I do not have enough time to investigate!
   
    Could anyone help me?
 
Best Regards
Chen Bin
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]