[xml] About white spaces


If I've got something like this:


   some text, bla bla bla


I wonder if there's any function that allows me to
retrieve a normalized string, thus:

"some text, bla bla bla"

I'm using libxml2, and nothing else, I'm just parsing
a xml data file with no DTD, and no stylesheet, and
the way I'm doing it is by traversing down the three,

while(cur!=NULL) {
  if((!xmlStrcmp(cur->name, (const xmlChar

So I anyone could tell me something about that would
be great.

Kind Regards,

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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