Hi all,

I have the following problem:
I have a jsp-page that imports all the struts taglib tlds and contains a
call to a custom taglib (<evliwar:instruments />). This tag receives data
from the db as xml and transforms it with a xsl. The output of the
transformation contains struts <html:xxx>-tags. Unfortunately these tags
never get parsed to html. Of course I could transform the data straight to
html but then I would lose the validation benefits etc of struts? What am I
doing wrong? Is this feasible at all?

Here is a part of the xsl:
<html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <link href="common/bo.css" rel="stylesheet" type="text/css"></link>
        <link href="common/header.css" rel="stylesheet"
type="text/css"></link>
      <td>
        <html:select styleClass="sel8" property="instrument" size="1">
                <html:option value="0"></html:option>
                <xsl:for-each select="//ROW">
                                <html:option value="{INSTRUMENTID}">
                                        <xsl:value-of
select="ISSUER_EXCHANGECODE" />
                        </html:option>
                        </xsl:for-each>
        </html:select>
        </td>
</html>

This is the output I get in the browser:
<html>
<link type="text/css" rel="stylesheet" href="common/bo.css">
<link type="text/css" rel="stylesheet" href="common/header.css">
<td>
<html:select size="1" property="instrument" styleClass="sel8">
<html:option value="0"></html:option>
<html:option value="7002">NOK1VEW197</html:option>
<html:option value="149850">NOK1VEW199</html:option>
</html:select>
</td>
</html>

This is what I'd like to achieve (eventually):
<html>
<link type="text/css" rel="stylesheet" href="common/bo.css">
<link type="text/css" rel="stylesheet" href="common/header.css">
<td>
<select size="1" name="instrument" class="sel8">
<option value="0"></option>
<option value="7002">NOK1VEW197</option>
<option value="149850">NOK1VEW199</option>
</select>
</td>
</html>

TIA,
Kari
-----------------------------------------------------------------------
Kari Pulkka
IT/EvliNet Development
Evli Securities Plc
Aleksanterinkatu 19 A, P.O. Box 1081
FIN-00100 Helsinki, Finland

Tel.   +358 (0)9 4766 9241
GSM +358 (0)40 548 4019
Fax  +358 (0)9 4766 9352
http://www.evli.net
mailto:[EMAIL PROTECTED]


This e-mail is for the intended recipient only and it may contain
confidential, proprietary and/or legally privileged information. If you have
received it in error, please immediately notify the sender by a return
e-mail and delete it from your system and destroy possible hard copies. You
must not use, disclose, distribute, print or copy any part of this message
if you are not the intended recipient. Any opinions expressed in this e-mail
are those of the sender and do not necessarily reflect the opinions of the
Evli Group. Evli Group reserves the right to monitor all e-mail
communications through its networks.



Reply via email to