cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaiswal, Vinay (CTS)" <>
Subject Invoking servlet through XSL
Date Thu, 08 Mar 2001 15:16:02 GMT
Hi folks,
I need to write an XSL stylesheet for invoking a servlet after a certain
time after getting first page
from XML to WML. It is successfully converting XML to WML and displaying on
WAP phone but
it is not invoking servlet after the fixed time set in the timer and it is
displaying the href itself on the
screen. I'm using Cocoon-1.8.2.
My XML page:

<?xml version="1.0"?>
<?xml-stylesheet href="bankwmlindex.xsl" type="text/xsl" media="wap"?>
<?cocoon-process type="xslt"?>
<title><![CDATA[Research and Development]]></title>

XSL for XML to WML conversion:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
<xsl:output method="xml"
        doctype-public="-//WAPFORUM//DTD WML 1.1//EN"/>
<xsl:template match="/">
 <card id="img" ontimer="http://tdl12a09/servlets/testindex">
  <timer value="30"/>
 <img src="/bitmaps/sunlogo.wbmp" alt="Test page" align="middle" hspace="26"
<xsl:template match="article/title">

Output WML page:

<?xml version="1.0"?>
<!-- Source Generated by WML Deck Decoder -->
    <do type="prev" label="back">
  <card id="frstcard">
      <img src="/bitmaps/sunlogo15_8.wbmp" alt="Cognizant RnD"
align="middle" hspace="26" vspace="2"/>
As you see in output WML page, URL has not come like 

<card id="img" ontimer="http://tdl12a09/servlets/testindex">
<timer value="30"/>

that I need.
Any help will be highly appreciated..

Thanks in advance..
Vinay Jaiswal


This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of
this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

		Visit us at

To unsubscribe, e-mail:
For additional commands, email:

View raw message