[
Lists Home |
Date Index |
Thread Index
]
On Tuesday 17 August 2004 19:51, Robert Koberg wrote:
> Hi,
>
> I would use Apache's Ant:
>
> http://ant.apache.org/
>
> and the Xslt task:
>
> http://ant.apache.org/manual/CoreTasks/style.html
>
> For example:
>
> <xslt basedir="doc" destdir="build/doc"
> extension=".html" style="my.xsl">
The style attribute is required, so the task does not transform XML documents
with a stylesheet PI instead of a stylesheet supplied in the buildfile. I had
to patch up another Ant task for this; I'll put it up somewhere at some point
or another, or better yet refactor to a patch for the existing task. Till
then i will happily supply it to anyone interested.
Manos
> <factory name="org.apache.xalan.processor.TransformerFactoryImpl">
> <attribute name="http://xml.apache.org/xalan/features/optimize"
> value="true"/>
> </factory>
> <param name="someParam" expression="some value"/>
> </xslt>
>
> This allows you to choose a directory (or directories) where your source
> lives and apply a transformation to output them to some other directory.
>
> best,
> -Rob
>
> Mike Fitzgerald wrote:
> > Some choices...
> >
> > Instant Saxon (Win exe) and Saxon (Java, growing support of XSLT 2.0)
> > http://saxon.sourceforge.net
> >
> > Xalan (Java) http://xml.apache.org/xalan-j/ and Xalan C++
> > http://xml.apache.org/xalan-c/
> >
> > MSXSL
> > http://www.microsoft.com/downloads/details.aspx?FamilyId=2FB55371-C94E-43
> >73-B0E9-DB4816552E41&displaylang=en
> >
> >
> > Mike
> >
> > Esteban Pizzini wrote:
> >> Hi,
> >>
> >> I'm looking for a command line application that converts xml using
> >> xslt...
> >> I use Oxygen for tests, but I need to convert a lot of xml (more than
> >> 400000) and oxygen gets slow when working with a lot of files...
> >>
> >> Thank you,
> >> Esteban
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
|