How would you convert / cast an xmlChar* to char* from the libxml2 library? Thanks.
If you take a look at the examples, for instance io2.c, you'll notice that they just blithely cast it to a char *:
printf("%s", (char *) xmlbuff);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With