ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: xml to html transformation
Date Sun, 28 Apr 2002 12:39:07 GMT
And just an FYI.... in Ant 1.5 <xslt> is an alias for <style> to make it
clearer and easier to find for users.

    Erik

----- Original Message -----
From: "Frederic Lavigne" <fred@castify.net>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Sunday, April 28, 2002 5:17 AM
Subject: RE: xml to html transformation


> look at the style task (it is documented in the user manual in the core
> tasks).
>
> -fred
>
>
> > -----Message d'origine-----
> > De : Steve A Drake [mailto:sad@ucar.edu]
> > Envoye : vendredi 26 avril 2002 01:36
> > A : ant-user@jakarta.apache.org
> > Objet : xml to html transformation
> >
> >
> >  Hello. I am using Ant and XSLT to transform XML files to HTML
documents.
> > The problem is that I think I'm using too many Ant directives to convert
> > each file. This makes for a large build.xml file. I'd appreciate
pointers
> > on how to define the transformations with a more compact syntax. As an
> > example, for each file transformation I have something like:
> >
> >    <java classname="org.apache.xalan.xslt.Process" fork="yes">
> >     <classpath>
> >      <pathelement location="${lib.dir}/xalan.jar"/>
> >      <pathelement location="${lib.dir}/xerces.jar"/>
> >     </classpath>
> >     <arg line="-in  test.xml
> >                -xsl test.xsl
> >                -out test.html"/>
> >    </java>
> >
> > Thanks in advance for any insights. BTW, nice user's manual.
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:ant-user-help@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message