If you can write an xpath expression to reference every attribute with that namespace, then I suspect the answer would be yes (but I haven't tried it). If I get time today I'll try it out...
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > Since you're online, let me highjack this thread with my own question. I > have a problem with an XSLT transform propagating an xmlns:xsi namespace > declaration from the source document to the transformed document (several in > fact, because I'm using the redirect extension). These generated documents > are Ant build files, with entity includes. > > Would <xmltask> be able to leave the build.xml intact expect for removing > all xmlns:xsi="..." attributes on all elements it finds it? > > Thanks, --DD > > -----Original Message----- > From: Brian Agnew [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 21, 2002 2:25 PM > To: Ant Users List > Subject: Re: replacing text in a file during a copy > > You can also use <xmltask> and its <insert> command to do the same. > > eg. > <xmltask source="input.xml" dest="output.xml> > <insert path="/web/" file="webinc.xml" position="under"/> > </xmltask> > > or similar, depending on your requirements. More at > http://www.oopsconsultancy.com/software/xmltask.html > > Brian > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > ===== Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd [EMAIL PROTECTED] Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>