Hi,

I want to modify a default web.xml file.

Following does not  work:

 <xmltask source="E:\Data\...web.xml" dest="E:\..\web2.xml">
   <replace path="web-app/display-name/text()"  withText="${context}"/>
 </xmltask>

It does work when I change in the web.xml file the :

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

to

<web-app > (so remove namespace settings)

How can I solve this so I do not need to remove the namespace setting ?

Regards,
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to