Re: [xml] xmlChar to int conversion



I guess at the same time I should ask how to get an int back to an
xmlChar.

On Tue, 2003-03-11 at 13:59, Nick Torenvliet wrote:
Hi, I have a property of a tag and I need to convert it into an integer.

I am really unfamiliar with UTF8 so I am not sure how to take something
from an xmlChar * to an integer.  How can I succesfully complete the
following?

int i;
i = xmlGetProp(cur,"val");
-- 
Nick Torenvliet B.A.,B.Eng.
FieldStone Solutions
www.fieldstonesolutions.com




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