Why not use the built in <style> task?  I'm using it for XSLT processing
for both creating static HTML pages from XML files as well as creating
Ant build XML files from template documents.  With <style> you can
specify <include> and <exclude> tags the same way you do <javac> and
other file-based tasks.  Also, <style> will automatically (or manually)
select an XSLT processor.

Tim

Kev K wrote:

> I'm having a little trouble coming up with a plan to
> do the following:
>
> I will have seperate directories that will have
> listings of xml and xsl files. I want to take these
> files and run them thru an XSLT processor. I can
> easily do this using XALAN with the <java>
> command/tag. But, I'm not sure how I can specify an
> exact xml and xsl file from within a specific
> directory and use that information to run XSLT. Also,
> a file could have dependencies attached to it. So, I
> would need to identify the dependend files in the
> directory structure and run those files thru the XSLT.
>
> i.e. \models\x400\index.xml and x400.xsl -- grab these
> two files and use them as parameters to XALAN. And,
> these files could have dependencies defined, so find
> those and run those files thru XALAN.
>
> Do you have any ideas or examples I could look at?
>
> Thank you,  Kevin
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

--
Tim Meals
Web Applications Developer

mailto:[EMAIL PROTECTED]
direct:   925-253-6515
fax:      925-253-4599               http://www.intraware.com
operator: 925-253-4500        Intraware ... Control Your Technology

begin:vcard 
n:Meals;Tim
tel;cell:925-381-8780
tel;work:925-253-6515
x-mozilla-html:TRUE
url:http://www.intraware.com
org:<A HREF="http://www.intraware.com";><IMG SRC="http://www.intraware.com/images/tempgifs/logotype.gif"; BORDER="0" WIDTH="145" HEIGHT="34" ALT="Intraware, Inc."><BR CLEAR="left">Intraware, Inc.</A>;eServices
adr:;;25 Orinda Way;Orinda;CA;94563;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Applications Developer
x-mozilla-cpt:;-31712
fn:Tim Meals
end:vcard

Reply via email to