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: Elements of Reusable Object-Oriented
Software
This solution works correctly, thank you.
It strips leading and trailing whitespace.
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
this solution.
Anyway, there seems to have no other solution with libxml2 only.
Thanks for your help.
- Mail original -
De: Liam R E Quin l...@holoweb.net
À: spam spam spam spam spam.spam.spam.s...@free.fr
Cc: Michael Ludwig mil...@gmx.de, xml@gnome.org
Envoyé: Mercredi 15 Février 2012 16:13:03
.
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
I think this function removes blank nodes.
That's not exactly what I want.
I want to strip useless whitespaces from text nodes.
These nodes aren't considered as blank nodes because they contains also visible
characters.
- Mail original -
De: Georges-André SILBER gasil...@luxia.fr
À: spam
Hello,
On a first computer, when I compile a C program using the libxml2 library I do :
$ gcc `xml2-config --cflags` `xml2-config --libs` main.c
or
$ gcc main.c `xml2-config --cflags` `xml2-config --libs`
And it works (but the first method is better because it respects the order of
arguments in
problem?
- Mail original -
De: spam spam spam spam spam.spam.spam.s...@free.fr
À: xml@gnome.org
Envoyé: Jeudi 16 Février 2012 16:01:27
Objet: [xml] The order of arguments when compiling
Hello,
On a first computer, when I compile a C program using the libxml2 library I do :
$ gcc `xml2-config
Yes it looks more like you said, and I forgot the second step, my apologizes. I
got this second step:
$ gcc -Wall -Wextra `xml2-config --cflags` -g -O2 -o xmlparsefile
xmlparsefile-main.o
As you can see, it doesn't show the `xml2-config --libs` argument (given into
my Makefile.am with the _LIBS
in my Makefile.am?
- Mail original -
De: Earnie Boyd ear...@users.sourceforge.net
À: spam spam spam spam spam.spam.spam.s...@free.fr
Cc: xml@gnome.org
Envoyé: Vendredi 17 Février 2012 16:11:43
Objet: Re: [xml] The order of arguments when compiling
On Fri, Feb 17, 2012 at 7:12 AM, wrote
in
`xmlparsefile_LDFLAGS
make: *** [Makefile.in] Error 1
Are you sure about _LDADD now?
- Mail original -
De: Christian Engwer christian.eng...@uni-muenster.de
À: spam spam spam spam spam.spam.spam.s...@free.fr
Cc: xml@gnome.org
Envoyé: Vendredi 17 Février 2012 15:48:00
Objet: Re: [xml
failed with exit status: 1
Do you see how to avoid this error?
- Mail original -
De: Csaba Raduly rcs...@gmail.com
À: spam spam spam spam spam.spam.spam.s...@free.fr
Cc: xml@gnome.org
Envoyé: Lundi 20 Février 2012 10:05:45
Objet: Re: [xml] The order of arguments when compiling
On Mon, Feb 20
11 matches
Mail list logo