Kevin Williams wrote:
Troy Laurin wrote:

There are cons, one being it's harder to insert data into an xml file than it is to create a new one


I have found the xmlpoke task to be quite simple to use.

My issue with xmlpoke is that it is great for changing nodes and attributes in-place, but I couldn't get it to create _new_ nodes.


ie:

I couldn't get xmlpoke to turn:

<xmldoc>
  <element date="yesterday">
    <details foo="bah" />
  </element>
</xmldoc>

into:

<xmldoc>
  <element date="yesterday">
    <details foo="bah" />
  </element>
  <element date="today">
    <details foo="yay!" />
  </element>
</xmldoc>



Maybe I just never got it?

-T


------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to