This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: jsp call


Of course you may not access the svg.jsp file directly. You have to access the jsp-ed version. If you can access the completely generated SVG-file from the browser via http://www.anywhere.com/svg.jsp, you have to write this as parameter for the document() function:

<xsl:copy-of select="document('http://www.anywhere.com/svg.jsp')"/>

XSLT is not able to do a jsp-transformation - or however it is called. It can only access the result of such one.

Regards,

Joerg

Charly wrote:

Thanks Joerg,
But it brings the jsp as a text, what I need is to execute the jsp and get
the output on my page .
any idea ?



----- Original Message -----
From: "Joerg Heinicke" <joerg.heinicke@gmx.de>
To: <xsl-list@lists.mulberrytech.com>
Sent: Wednesday, July 03, 2002 8:17 AM
Subject: Re: [xsl] jsp call



If it generates well-formed XML, you can use the document()-function:

<xsl:template match="/">
  <xsl:copy-of select="document('svg.jsp')"/>
</xsl:template>

Regards,

Joerg


Charly wrote:

Hello Friends,
Is there a way to call a jsp page within a template .
My "jsp" page generates some "svg" code that I embed in my page .
I need to do something that would look like this .

<xsl:template match="/">
  <jsp:include page="svg.jsp" />
</xsl:template>

Please Help .

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]