[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] xmlChar * to char *
- From: "Peter Jacobi" <pj walter-graphtek com>
- To: <manu mp maildrop m2comsys com>, xml gnome org
- Subject: Re: [xml] xmlChar * to char *
- Date: Mon, 29 Sep 2003 14:17:22 +0200
> I want to remove only '\n' and '\t' from the parsed xml. How can it be
> possible.
Serious question?
xmlChar *optr = iptr;
while (*iptr) {
if (*ptr != '\n' && *ptr != '\t') {
*optr = *iptr;
++optr;
}
++iptr;
}
*optr = '\0';
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]