Re: [xml] Dealing with carriage returns and tabs in xml documents

On Thu, Mar 21, 2002 at 06:48:39PM +0100, Patrick Hartmann wrote:
using SAX all carriage returns and tabulators are considered as characters 
and charactersSAXFunc shows them all. 
Is there a way to filter them or better how can I get ONLY text without CR 
from the callback function charactersSAXFunc(void *ctx, const xmlChar *ch, 
int len)???

  Someone didn't read the FAQ:
    item 2

  In a nutshell, use xmlKeepBlanksDefault(0)


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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