You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Simon Kelly <ke...@ipe.fzk.de> on 2003/01/08 14:47:17 UTC

Insertinf xslt output into a jsp

Hi all,

I am trying to use the struts architecture for my web site, but I need to
use xslt to transform my xml output.  (Not the way I would do it, but I have
no choice).

I found a snipit of code that I though may do the trick,

[snip]
<%@taglib uri="http://jakarta.apache.org/taglibs/xsl-1.0" prefix="xsl"%>

....

<xsl:InsertWithXSL xml="/static-xml/main.xml" xsl="/stylesheets/main.xsl" />
[snip]

This line is inserted into the relevent jsp, and should just replace this
line with the xslt output.

But the http://jakarta... taglib has been depreciated.

Is there another way of doing this, or a new taglib that I could import?

Cheers

Simon


Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
E-mail : kelly@ipe.fzk.de


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>