[xml] How to add datatypes



Hi,
I have a doubt :
wchar_t date[10];
wchar_t time[10];

com1 = xmlNewDocComment(doc, BAD_CAST("Created on Date <date> and Time <time> "));

I get my date and time in some Variables. I could not able to find how to add the variable data in the comment?
Is there any %d and %s accepted ?
Also,
int Val = 01;
xmlNewProp(node, BAD_CAST "Token", BAD_CAST  <Val>);

How can i set the Value in there?

Please anyone help me.

Thanks a lot.
Sam




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