Re: [xml] xml find and replace

2012-07-20 Thread stuart shepherd
Thank you, that work's brillantly. On Thu, Jul 19, 2012 at 3:18 PM, Noam Postavsky < npost...@users.sourceforge.net> wrote: > On Thu, Jul 19, 2012 at 9:42 AM, stuart shepherd > wrote: > > I'm guesing it's something to do with having elements within the text

Re: [xml] xml find and replace

2012-07-16 Thread stuart shepherd
Brilliant I've now got this http://www.w3.org/1999/XSL/Transform";> 5 5 And it seems to work, thanks for your help. On Mon, Jul 16, 2012 at 1:22 PM, Noam Postavsky < npost...@users.sourceforge.net> wrote: > On Mon, Jul 16, 2012 at 6:09 AM, st

Re: [xml] xml find and replace

2012-07-16 Thread stuart shepherd
the error message xmlXPathCompOpEval: function replace not found XPath error : Unregistered function Any ideas how to get round that? Cheers Stuart. On Fri, Jul 13, 2012 at 11:40 AM, stuart shepherd wrote: > Hi > > I've had a look at this and I'm not sure it does it exac

Re: [xml] xml find and replace

2012-07-13 Thread stuart shepherd
containing only a single override value. Is this possible with XSLT? Thank you for your help. Stuart. On Thu, Jul 12, 2012 at 7:07 PM, Piotr Sipika wrote: > On 07/12/2012 09:53 AM, stuart shepherd wrote: > > Searching the web I've seen some examples in XSLT on how to > >

Re: [xml] xml find and replace

2012-07-13 Thread stuart shepherd
I'll Give that a try thanks a lot for your help I'll let you know how it goes. On Thu, Jul 12, 2012 at 7:07 PM, Piotr Sipika wrote: > 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 li

[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

[xml] Using xpointer with xmllint

2012-06-15 Thread stuart shepherd
My last message seems to have been missing the important line of code that doesn't work. It is as below. ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml

[xml] Using xpointer with xmllint

2012-06-15 Thread stuart shepherd
Hi I'm having trouble using xpointer with an xinclude. Below is an extract of my xml file http://www.w3.org/2001/XMLSchema-instance"; xsl:noNamespaceSchemaLocation="shema.xsd" xmlns:xi="http://www.w3.org/2001/XInclude";> . .. control.xml 8 ValidHd .. an