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" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
> > Envoye : vendredi 26 avril 2002 01:36
> > A : [EMAIL PROTECTED]
> > 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to