Re: [xml] xml find and replace

2012-07-12 Thread Piotr Sipika
On 07/12/2012 09:53 AM, stuart shepherd wrote: > Searching the web I've seen some examples in XSLT on how to > do something like this, but I have never used XSLT. Does anyone know if > there is a way to do this in XML. XSLT is your best bet. Here's a sample stylesheet which will: - change the na

Re: [xml] Trouble compiling a library

2012-07-12 Thread Alex Bligh
--On 12 July 2012 09:37:23 +0200 michael.jerusa...@steria.com wrote: I use this command line to compile : gcc `xml2-config --cflags --libs` -o librairie_xml librairie_xml.c If your xml library is actually installed, you want to do: #include #include not #include "libxml/parser.h" #inclu

[xml] xml find and replace

2012-07-12 Thread stuart shepherd
Hi I'm using one large XML file to create several smaller sub-set files using xinclude. The only problem I have is that I need to change some of the nodes in the included parts. I can uniquely identify the parts I need to change using xpointer/xpath is there a way to do a find and replace using XM

Re: [xml] Trouble compiling a library

2012-07-12 Thread michael . jerusalmi
Hi Jason, I use this command line to compile : gcc `xml2-config --cflags --libs` -o librairie_xml librairie_xml.cWith or without -I libxml2-2.7.8/include, the result is still the same :  gcc `xml2-config --cflags --libs` -o librairie_xml /librairie_xml.cIn file included from ../librairie_xml.c:24:.