[xml] BAD_CAST question

Hi, I have a function that returns a std::string that I need to convert to an xmlChar*.  What is the best way to do this?  I get a compiler error when I use the BAD_CAST macro.  I'm fairly new to to C and libxml.  Thanks for your help.


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