Hi all!
I'm having trouble working with XMLCh strings...
For example, in the Redirect sample a constant XMLCh string is defined
this way:
static const XMLCh gFileToTrap[] =
{
chLatin_p, chLatin_e, chLatin_r, chLatin_s, chLatin_o, chLatin_n
, chLatin_a, chLatin_l, chPeriod, chLatin_d, chLatin_t,
chLatin_d, chNull
};
But is this the only way? Can't I create one directly from a string of
caracters, like:
static const XMLCh gFileToTrap[] = "personal.dtd";
What would be really nice was to be able to create a XMLCh* from a
char*... Can this be done easily?
Thanks!
Rafael Sousa