Re: [xml] The order of arguments when compiling

2012-02-17 Thread Csaba Raduly
Hi spam, On Thu, Feb 16, 2012 at 4:01 PM, wrote: 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

Re: [xml] The order of arguments when compiling

2012-02-17 Thread Earnie Boyd
On Fri, Feb 17, 2012 at 7:12 AM, wrote: are you aware of the LIBS option? Something like make LIBS=`xml2-config --libs` -- Earnie -- https://sites.google.com/site/earnieboyd ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org

Re: [xml] The order of arguments when compiling

2012-02-17 Thread Noam Postavsky
On Fri, Feb 17, 2012 at 7:12 AM, spam.spam.spam.s...@free.fr wrote: The compile does now : $ gcc -DPACKAGE_NAME=\xmlparsefile\ -DPACKAGE_TARNAME=\xmlparsefile\ -DPACKAGE_VERSION=\0.1\ -DPACKAGE_STRING=\xmlparsefile\ 0.1\ -DPACKAGE_BUGREPORT=\samson.pie...@etud.univ-montp2.fr\

Re: [xml] Remove whitespaces from text nodes

2012-02-17 Thread Michael Ludwig
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

[xml] Special.

2012-02-17 Thread Rob Eisink
bspan style=font-size: 21pt; a alt=zandrewscbeginnaminoethylethanolamineaprovamf1ballocationlistsizeabzugreifen baiseadresaroaviapz19dqp id=alhucemasbearingtonacxjballenfademaszenaz allegalityasbnbeeingapplicationaabortsend

[xml] Retrieve a nodes column number

2012-02-17 Thread Daniel Nagy
Hi, I have seen that it is possible to get the line number of a node by calling xmlGetLineNo [1] on the node. The parser must have had the xmlLineNumbersDefault flag activated before parsing to get this to work. Now I am wondering whether it is possible to retrieve the column number in