Thanks for all your help on this. I'll check out the
style tag!

--- Jon Eaves <[EMAIL PROTECTED]> wrote:
> Hi all, 
> 
> I've had a couple of requests off list, and this
> one on-list.  I've included my build.xml.
> 
> Enjoy !
> 
> Cheers,
>     -- jon
> 
> ----- Original Message ----- 
> From: "Eric Richardson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, July 15, 2001 7:41 AM
> Subject: Re: Help with file-based task
> 
> 
> > Jon Eaves wrote:
> > > 
> > > Hi all,
> > > 
> > > Erm, at the risk of looking more stupid that I
> normally do,
> > > I just tried it.
> > > 
> > > It all just works.
> > > 
> > > I suppose I should be happy, but it's a bit hard
> at the
> > > moment ;-)
> > > 
> > > Thanks to the creators of the <style> task.
> > > 
> > > If anybody wants to see how I've done it, just
> drop me a
> > > line off the list (so as not to pollute it any
> further).
> > > 
> > You can share what you found here as this is what
> the list is for.
> > Thanks,
> > Eric
> > 
> > <project name="xslt" default="out" basedir=".">
> 
> <property name="file.xsl" value="test.xsl" />
> <property name="dest" value="output" />
> 
> <fileset id="file.set" >
>       <include name="*.xml"/>
>       <exclude name="build.xml" />
> </fileset>
> 
> <target name="out">
>       <style basedir="." destdir="${dest}"
> extension=".html" style="${file.xsl}" >
>               <include name="input/**/*.xml"/>
>               <exclude name="build.xml" />
>       </style>
> </target>
> 
> <target name="clean">
>       <delete includeEmptyDirs="true">
>               <fileset dir="${dest}" />
>       </delete>
> </target>
> 
> 
> </project>
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to