[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xslt transform


ant xslt transform
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>

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.