Questions tagged [xmltask]
66 questions
1
vote
2 answers
Unexpected output when running Xmltask in ant for loop
I am trying to iterate over a bunch of files in a directory and create an xml document from their file names.
Here's the code (taskdefs omitted):
…

andy wickson
- 11
- 1
1
vote
1 answer
ANT task - multiple files - loop through
I have quite complicated ant task to write. I had to make separate builds files and 1 left.
There are 4 files:
buildpackage.bat, buildpackage.xml, buildpackage.txt, structure.xml
buildpackage.bat is just an ant file that calls buildpackage.xml…

ES Su
- 64
- 2
- 10
1
vote
1 answer
1
vote
1 answer
XMLTask to alter this elements text content
Considering the following XML, how can I use the Ant task XMLTask to change bar using foo as a filter if there many items like this with different names.
bar
a value goes here

jim
- 8,670
- 15
- 78
- 149
1
vote
1 answer
xmltask - call doesn't support the nested "if" element
my new problem is an if statement in tags, I have this new problem: Does media call the nested "if" element.
The rapport.xml :

stella06700
- 77
- 8
1
vote
1 answer
ant xmltask node if
my new problem is an if condition tags .
In fact, I can not get into the condition 'then' when "param" is 0.

stella06700
- 77
- 8
1
vote
0 answers
Change AndroidManifest with xmltask
I'm trying to use ant xmltask to preprocess my AndroidManifest.xml in IntelliJ IDEA. My build.xml looks like

user1724727
- 21
- 3
1
vote
1 answer
Insert XML element in xml document using Ant
I want to insert one xml element in xml document :-
Input XML:-
…

user3384223
- 35
- 1
- 6
1
vote
1 answer
How to use XMLTask Search replace
I'm trying to search and replace using below code.

user3384223
- 35
- 1
- 6
1
vote
1 answer
Ant Script Loop through property file and replace values dynamically
I got a requirement to loop through some XML files, replace the environment specific values in it and create new set of XML files. The environment specific values are to be taken from property file. I am able to loop through a directory to read all…

Venkat
- 11
- 1
- 5
1
vote
0 answers
DTD not found error while updating attribute value using Ant XmlTask
I want to update value of debug.classpath property. I am using XmlTask to do manipulations. However, I am running to DTD not found issue.
This is my target XML file.

Vaman Kulkarni
- 3,411
- 2
- 21
- 22
1
vote
3 answers
Conversion of Data through XML task vis SSIS
I have consumed simple web service for addition of numbers and returns the result in variable which is in the following format
35
So when I try to insert this 35 into database through Execute SQL…

Reshma
- 864
- 5
- 20
- 38
1
vote
1 answer
MacroDef, properties and xmltask

CodeGeek123
- 4,341
- 8
- 50
- 79
1
vote
2 answers
xmltask in java 1.7?
Right now I am working on XMLTask using java 1.6. It is working fine with 1.6 but when I change from 1.6 to 1.7, it is throwing the following error:
NoClassDefFoundError: org/apache/xpath/XPathAPI

yakov.m
- 13
- 1
- 4
0
votes
1 answer
Copy one value over to another with xmltask
Is it possible for an xml task to copy the value of one node into another node for each element in a list?
Source XML:
foo
bar
...
Destination XML:
…

Andrew
- 13,757
- 13
- 66
- 84