Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

RE: csv to html via xslt or xslt2 task ?

Chun Ji

2008-03-11

Replies: Find Java Web Hosting

Author LoginPost Reply

I am using Ant 1.7, and I don't think we have such thing yet. But since XSLT 2.0 has lots of new APIs that can make the xslt script much more powerful, so my feeling is it is just a matter of time to have it be part of ANT family.

During the meaning time, what you can do is to download the XSLT2.0 package yourself and use it as a regular java application. For example, I am using "saxon" for the XSLT2.0, and the command line would be:

"java -cp ~/XML/saxonsa8-9j/saxon8sa.jar net.sf.saxon.Transform <xml_file> <xslt_file>"


-c




-----Original Message-----
From: Steve Loughran [mailto:stevel@(protected)]
Sent: Tuesday, March 11, 2008 3:37 AM
To: Ant Users List
Subject: Re: csv to html via xslt or xslt2 task ?


Chun Ji wrote:
> How about "Fixed to XML (XSLT 2.0 only) "
>
> The difference from yours is: delimiter is ",", instead of space.
>
>


Aaah, XSLT2. Does Xalan (and the ant tasks) support that?

--
Steve Loughran            http://www.1060.org/blogxter/publish/5
Author: Ant in Action       http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.