Ant and XLS

Z

zw

Hi
I have 2 different xml data files with the same filename named zw.xml
in 2 separate directories.
Each contains lines similar to these lines below
<Results version="1.0">

<sample label="Confirmation" success="true"/>


In my xsl, I have <xsl:variable name="totalSuccess" select="count(/
Results/*[attribute::label='Confirmation' and
attribute::success='true'])"/>
I have 2 properties named d1, d2 in Ant where each point the directory
containing zw.xml.
How do I import or retrieve those properties so that I could use them
to reference in my xsl for above ?
Also what's the syntax which includes the filename so that my xsl
would count the right number from the correctly referenced xml data
file ?

Thanks
Appreciate any help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top