As I said last week, the below isn't a valid XPath.

I've just used  the below with success.

<attr path="/WebAppBinding/resRefBindings" attr="jndiName" value="jdbc/NewDataSource"/>

(I've had to remove the namespace info since the below isn't complete)

Brian

On 30/07/2009 07:57, Praveen Kumar Kale wrote:

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


--
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012

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