Questions tagged [xmltask]

66 questions
0
votes
2 answers

ant Task for or foreach loop in xml files

I need some help on looping through an xml file which I manged to get the nodes using xmlproperty but I am struggling on how to loop through them where there are more than one params. So here is the format:
tosi
  • 1,873
  • 2
  • 18
  • 38
0
votes
1 answer

Ant task to check that xml node exists in xml file

I have xml file inside that I want to add xml say Red x3 I wish to check if node already exists then I want to update this otheriwse wanted to add new. I am very new to ant xmltask so…
aviundefined
  • 802
  • 2
  • 10
  • 25
0
votes
2 answers

Parse fileset tag in XML using Ant and join the path

I have an xml file (myxml.xml) like this I want to parse…
shruti
  • 1
  • 1
0
votes
2 answers

Checking the "value" of "value" attribute of ant Property tag/element

I wanted to check if a property value has a value which is supposed to be read from another file in ant can any body please without an additional jar. wanted to check if input.password has got the…
static void main
  • 728
  • 2
  • 9
  • 34
0
votes
1 answer

xmltask error encoding

I´m trying to get the value of node in the xml file. I observed that value is wrong. I´m belive that problem is the encoding. Someaone can help me ? below is my code: In xml File:
thiagolsilva
  • 439
  • 4
  • 11
-1
votes
1 answer

Add/Remove/update entry between two xml file either using Ant xmltask or using perl scripting

Here is first xml file input.xml, input.xml:
Hmnshu
  • 230
  • 1
  • 5
  • 13
1 2 3 4
5