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]>

Reply via email to