Re: [Xmltask-users] RE: Welcome to the "Xmltask-users" mailing list
Brought to you by:
bagnew
From: Brian A. <br...@oo...> - 2005-06-23 14:10:48
|
My initial thought is that your XPath for the <call> should simply call on nodes that have a text element. <call path="/csources/csource/hpath[text() != '']> hin...@ac... wrote: > >Hello gentle people; > >i am using <call> within xmltask and i am using an xml that is pretty much like this: ><csources> ><csource name="blablablabla"> ><hpath>bloblo</hpath> ></csource> ></csources> > >i am already using the inheritAll= false. ><call target="popol" ... inheritAll="false"> ><param name=hpath path="hpath/text()"/> ></call> > > i have the following problem: >when hpath is empty my property ${hpath} is set to ...${hpath}! how can i avoid that within the <call> without doing some extra job in my build.xml > >Thx. > > >This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Xmltask-users mailing list >Xml...@li... >https://lists.sourceforge.net/lists/listinfo/xmltask-users > > > -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd brian @ oopsconsultancy.com Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 |