You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by domenico di leo <do...@gmail.com> on 2007/05/13 22:49:49 UTC

Run Xalan on Tomcat

Hi

How can I run Xalan on Tomcat?
I use Tomcat 5.5.23 and I'm newbie
many thanks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Run Xalan on Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rashmi,

Rashmi Rubdi wrote:
> On 5/14/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
>> Rashmi Rubdi wrote:
>> > One way to use Xalan is with JSTL XML tags inside a JSP.
>>
>> A much better way is to use Cocoon (http://cocoon.apache.org).
> 
> I've not tried Cocoon yet, so I really cant compare JSTL XML tags with
> Cocoon but I know that with JSTL XML tags you only need 3 lines of
> code to transform an XML with an XSLT file, and show the output on a
> JSP --- and it requires Xalan JAR files.

Cocoon requires no JSP at all, is configured entirely using XML, and
comes with all required libraries.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSaYm9CaO5/Lv0PARAvJdAJ9+/n6eTIh3gn6qzPyN8BzNQmPtWQCfVFvh
Uu5EQCJCSBjac9X1+nBWYdE=
=FHFl
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Run Xalan on Tomcat

Posted by Rashmi Rubdi <ra...@gmail.com>.
On 5/14/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
> Rashmi Rubdi wrote:
> > One way to use Xalan is with JSTL XML tags inside a JSP.
>
> A much better way is to use Cocoon (http://cocoon.apache.org).

I've not tried Cocoon yet, so I really cant compare JSTL XML tags with
Cocoon but I know that with JSTL XML tags you only need 3 lines of
code to transform an XML with an XSLT file, and show the output on a
JSP --- and it requires Xalan JAR files.

3 lines are

1) Import XML

2) Import XSLT

3) x:transform xml with xslt

Well other than the above, it is also possible transform within a JSP
with x:parse tag.

In addition to Cocoon, JSTL XML tags, I think there are other
frameworks also available by Apache , each framework serves it's own
purpose.

> - -chris

-Regards
Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Run Xalan on Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rashmi,

Rashmi Rubdi wrote:
> One way to use Xalan is with JSTL XML tags inside a JSP.

A much better way is to use Cocoon (http://cocoon.apache.org).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSFqO9CaO5/Lv0PARAgB8AJ0R9oWPKwRn/Tkw+7uYL1qe2oarxQCgwN8x
GDeY006V0HDO1sUba3QSsGs=
=u6q9
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Run Xalan on Tomcat

Posted by Rashmi Rubdi <ra...@gmail.com>.
On 5/13/07, domenico di leo <do...@gmail.com> wrote:
> Hi
>
> How can I run Xalan on Tomcat?

Configure it as you would configure other plug-ins. That is, place
xalan.jar (and dependent JAR files such as serializer.jar) either in

1) your projects /WEB-INF/lib folder  or in Tomcat's shared folder
(your choice).

> I use Tomcat 5.5.23 and I'm newbie

How do you plan to use Xalan on Tomcat?

One way to use Xalan is with JSTL XML tags inside a JSP.

> many thanks


-Regards
Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Run Xalan on Tomcat

Posted by Martin Gainty <mg...@hotmail.com>.
Domenico
download xalan here
http://xml.apache.org/xalan-j/downloads.html
I would deploy the demo servlet xalanservlet suppling the 3 required params 
on the QueryString
XML
XSL
PVAL
e.g.
http://localhost:8080/xalanservlet/?XML=fooparam.xml&XSL=fooparam.xsl&PVAL=Hello

HTH/
Martin
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "domenico di leo" <do...@gmail.com>
To: <us...@tomcat.apache.org>
Sent: Sunday, May 13, 2007 4:49 PM
Subject: Run Xalan on Tomcat


> Hi
>
> How can I run Xalan on Tomcat?
> I use Tomcat 5.5.23 and I'm newbie
> many thanks
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org