If you have multiple nodes perhaps you can make use of the call/target
mechanism in xmltask to call a subtarget for each attribute you wish to
modify ? I haven't experimented, I confess, but that may be a good
start. Otherwise each xmltask command works on the set of nodes
independently, and you can't prefix etc. using those.
See the examples set for some call/target ideas.
Brian
Gandon wrote:
> Hello,
>
> I have a bunch of tags with href attributes (see end of this mail) that I
> want to change. This change consist in prefixing all the values with the same
> text for instance file://c:/thepath/
> So that a
> <level1 href="idai0ibb.html" name="mhw.application" />
> Becomes
> <level1 href="file://c:/thepath/idai0ibb.html" name="mhw.application" />
>
> And that for all tags with href attribute.
> Is there any way to do that with the xmltask a sort of
> <attr path="[EMAIL PROTECTED]/" attr="href" value="
> file://c:/thepath/@{value}"/>
>
> Where @{value} would be the original attribute value?
>
>
> Hope this is possible or if you have any idea to come around this pb, Ivoud
> be please to know them.
>
> Thanks a lot.
>
> SeB.
>
>
>
> <level1 href="idai0ibb.html" name="mhw.application" />
> <level2 href="idam0ibb.html" name="AppDatabase" />
> <level3 href="idau1ibb.html" name="AppDatabase.addAppDatabaseListener()" />
> <level3 href="idau2ibb.html" name="AppDatabase.addApplicationListener()" />
> <level3 href="idau3ibb.html" name="AppDatabase.getApplication()" />
> <level3 href="idad4ibb.html" name="AppDatabase.getApplications()" />
> <level3 href="idal1ibb.html" name="AppDatabase.getInstance()" />
> <level3 href="idae2ibb.html" name="AppDatabase.removeAppDatabaseListener()"
> />
>
> ***********************************************************************************
> This e-mail is confidential, the property of NDS Ltd and intended for the
> addressee only. Any dissemination, copying or distribution of this message
> or any attachments by anyone other than the intended recipient is strictly
> prohibited. If you have received this message in error, please immediately
> notify the [EMAIL PROTECTED] and destroy the original message. Messages sent
> to and from NDS may be monitored. NDS cannot guarantee any message delivery
> method is secure or error-free. Information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or contain viruses. We do not
> accept responsibility for any errors or omissions in this message and/or
> attachment that arise as a result of transmission. You should carry out your
> own virus checks before opening any attachment. Any views or opinions
> presented are solely those of the author and do not necessarily represent
> those of NDS.
>
> To protect the environment please do not print this e-mail unless necessary.
>
> NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West
> Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England
> and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00
> ***********************************************************************************
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Xmltask-users mailing list
> [email protected]
> 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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Xmltask-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltask-users