spam.spam.spam.s...@free.fr schrieb am 16.02.2012 um 08:57 (+0100):
Yes you are right.
But I am not sure my function will do a good job.
I know 2 whitespaces : , \t, ... But I am not sure that I know
all of them.
My function will probably forgot to strip some whitespaces...
This is the
spam spam spam spam.spam.spam.s...@free.fr
Cc: xml@gnome.org
Envoyé: Jeudi 16 Février 2012 09:14:17
Objet: Re: [xml] Remove whitespaces from text nodes
Hi,
I wrote a small function for this purpose some time ago.
I didn't test it with the last versions of libxml2 nor did I ensure that this
code
: Mardi 14 Février 2012 21:13:19
Objet: Re: [xml] Remove whitespaces from text nodes
spam.spam.spam.s...@free.fr schrieb am 14.02.2012 um 10:59 (+0100):
I write a C program using the libxml2 library.
I would like to have this output (without editing my XML file) :
My book A
My book B
My book C
On Wed, 2012-02-15 at 10:04 +0100, spam.spam.spam.s...@free.fr wrote:
There is a solution using the libxslt library and applying a stylesheet to
the document...
But I am wondering if there is a way to do this job using just libxml2.
Have you any idea about this?
Use titleMy Book C/title
spam.spam.spam.s...@free.fr schrieb am 15.02.2012 um 10:00 (+0100):
But now, I am wondering if there is a solution just using libxml2
(without libxslt).
In fact, I am requesting for a transformation of the XML document.
Indeed, the original node contains whitespaces and I want to remove
Objet: Re: [xml] Remove whitespaces from text nodes
On Wed, 2012-02-15 at 10:04 +0100, spam.spam.spam.s...@free.fr wrote:
There is a solution using the libxslt library and applying a stylesheet to
the document...
But I am wondering if there is a way to do this job using just libxml2.
Have you
On Thu, 2012-02-16 at 08:28 +0100, spam.spam.spam.s...@free.fr wrote:
[...].
Anyway, there seems to have no other solution with libxml2 only.
The spaces are part of the text of the document, so it's not likely that
a conformant XML parser will strip them for you.
You could of course remove the
.
Is there a function which do this job?
- Mail original -
De: Liam R E Quin l...@holoweb.net
À: spam spam spam spam spam.spam.spam.s...@free.fr
Cc: xml@gnome.org
Envoyé: Jeudi 16 Février 2012 08:40:31
Objet: Re: [xml] Remove whitespaces from text nodes
On Thu, 2012-02-16 at 08:28 +0100, spam.spam.spam.s
spam.spam.spam.s...@free.fr schrieb am 14.02.2012 um 10:59 (+0100):
I write a C program using the libxml2 library.
I would like to have this output (without editing my XML file) :
My book A
My book B
My book C
The useless whitespaces are removed from text nodes.
Is there a function
On 02/14/2012 03:13 PM, Michael Ludwig wrote:
spam.spam.spam.s...@free.fr schrieb am 14.02.2012 um 10:59 (+0100):
Is there a function which do this work?
Don't know the C API, but in XSLT there's the function normalize-space()
and it does just what you want, so you might want to take a look
On 14 February 2012 09:59, spam.spam.spam.s...@free.fr wrote:
Hello,
I write a C program using the libxml2 library.
It takes as argument an input XML file and it displays the content at the
screen.
This is the input file :
library name=library of UM2
book name=Design Patterns:
Laurence Rowe schrieb am 14.02.2012 um 20:58 (+):
On 14 February 2012 09:59, spam.spam.spam.s...@free.fr wrote:
I would like to have this output (without editing my XML file) :
My book A
My book B
My book C
The useless whitespaces are removed from text nodes.
Is there a
12 matches
Mail list logo