Re: [xml] About white spaces



On Thu, Oct 19, 2006 at 05:10:10PM -0400, Daniel Veillard <veillard redhat com> wrote:
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.

Isn't there a way to use the xpath function normalize-space() ?

Mike



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