Re: [xml] About white spaces



On Thu, Oct 19, 2006 at 08:25:52PM +0100, chinlu chinawa wrote:
<node>

   some text, bla bla bla

</node>

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

"some text, bla bla bla"


  in general 'blanks' are significant in XML. There is a function
xmlSchemaStrip() in xmlschemastypes.c but it's private. You would have
to copy it.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



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