Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Ant, XLS, with multiple XML data files

From: zw <MPC8250@-----.--->
To: NULL
Date: 3/15/2008 7:51:00 AM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent