Hi,
Can anyone help me to solve this issue...

I try to modify the   jndiName  with different Data Source using <attr>.

I used  <attr>  like this "<attr path="/:webappbnd/:resRefBindings/@[jndiName= 
'jdbc/DataSource']/" attr="jndiName" value="jdbc/NewDataSource"/>"

 But it is not modifying the data  it is modifying like this "<resRefBindings 
jndiName="jdbc/DataSource" xmi:id="ResourceRefBinding_1201144668069">"

Am I doing in correct

Here is the in  "ibm-web-bnd.xmi" file Structure.

<webappbnd:WebAppBinding xmi:version="2.0" virtualHostName="default_host">
  <webapp href="WEB-INF/web.xml# "/>
                <resRefBindings xmi:id="ResourceRefBinding_123456789" 
jndiName="jdbc/DataSource">
                                 <bindingResourceRef 
href="WEB-INF/web.xml#ResourceRef_123456789"/>
  </resRefBindings>
</webappbnd:WebAppBinding>

Thanks,
Praveen

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