Hello,
Here is a test case where the copy task does not set the property value with
the xml element copied.
This can be checked by replacing "property" attribute with the "buffer", to see
that the copy get done in the buffer but not in the property.
Am I doing something wrong?
Thanks for any lead.
SeB.
--------------------------- Ant target -----------------------------------
<target name="test xml copy">
<xmltask source="flash_help_toc.xml" report="true">
<copy path="book/[EMAIL PROTECTED]'Mhdk General Help']"
property="mhdk.help.element"/>
<print comment="copied buffer is :"
buffer="mhdk.help.element"/>
</xmltask>
<echo message="mhdk.help.element : ${mhdk.help.element}"/>
</target>
--------------------------- end of Ant target
-----------------------------------
--------------------------- test file called flash_help_toc.xml
-----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<book title="MHDK help" directory="MHDK Help"
categories="languagereferences,as2" language="en" version="2.0" sort="mm_5">
<level1 href="D:\Program Files\NDS Technologies\MHDK\Doc\index.html"
name="other Help"/>
<level1 href="D:\Program Files\NDS Technologies\MHDK\Doc\index.html"
name="Mhdk General Help"/>
</book>
--------------------------- end of test file
-----------------------------------
***********************************************************************************
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.
***********************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users