[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

& issue in XSL

Subject: & issue in XSL
From: smiley <smiley.gk@xxxxxxxxxxxxxx>
Date: Tue, 28 Aug 2007 16:16:57 +0100
 & issue in XSL
I have a problem converting the following JavaScript code in DHTML to XSL.

The problem area is:

<script

src=3D"
https://seal.verisign.com/getseal?host_name=3Dwww.sportabroad.co.uk&amp;siz=
e=3DS&amp;use_flash=3DYES&amp;use_transparent=3DYES&amp;lang=3Den">&#160;</=

script>

The code should display VeriSign seal and when the seal is clicked, it
should display the validitiy period.

In IE, it displays the seal nut whcn clicked, it displays an error message.
In FireFox, only VeriSign seal is displayed with no other page info.

Please help to solve this issue. Much appreciated.


XSL document:
<?xml version=3D"1.0" encoding=3D"iso-8859-1"?><!DOCTYPE xsl:stylesheet [

<!ENTITY nbsp " ">
<!ENTITY ldquo """>
<!ENTITY rdquo """>

<!ENTITY pound "=A3">
<!ENTITY amp    "&#38;">
]>
<xsl:stylesheet version=3D"1.0" xmlns:xsl=3D"

http://www.w3.org/1999/XSL/Transform">

<xsl:output method=3D"html" indent=3D"yes" doctype-public=3D"-//W3C//DTD
XHTML 1.0Transitional//EN" doctype-system=3D"

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

omit-xml-declaration=3D"yes" encoding=3D"iso-8859-1"/>
<xsl:strip-space elements=3D"*"/>

<xsl:include href=3D"kugen.xsl" />
<xsl:include href=3D"global.xsl"/>

<xsl:template match=3D"page">

<html xmlns=3D"http://www.w3.org/1999/xhtml">


<!--Call the page head template -->

<xsl:call-template name=3D"template_head"/>


<body>

<!--Call the page shortcuts template-->

<xsl:call-template name=3D"template_shortcuts"/>

<div id=3D"page">

<!--Call the page header template-->

<xsl:call-template name=3D"template_header"/>


<!--Call the page navigation template-->

<xsl:call-template name=3D"template_navigation">
<xsl:with-param name=3D"page_section" />
</xsl:call-template>

<div id=3D"container" class=3D"clear">
<xsl:call-template name=3D"headP"/>

<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" class=3D"StdHdr">
<tbody>
</tbody>
</table>

<div class=3D"StdTxtL">
<p></p>
<div class=3D"StdTxtM">
<table class=3D"StdTblL" border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
<tbody>
<tr>
<td class=3D"HeadingB">Holiday Requirements</td>
<td class=3D"HeadingHelp"><a
href=3D"javascript:Showinfowindow('/Help/holiday_requirements.html');"> Nee=
d

Help?</a></td>
</tr>
</tbody>
</table>
</div>
Please complete the following details to check the availability of your
holiday and make a booking or quote.
</div>


<xsl:apply-templates select=3D"//page/requirements/MainAt"/>

<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" class=3D"StdTblL">
<tbody>
</tbody>
</table>

<div class=3D"StdTxtL"><p><br/>
<table width=3D"600" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">
<tr>
<td>
<span class=3D"Gentext">Payment for your itinerary is by debit or credit ca=
rd
when you book. For your peace of mind, our site is protected by Verisign an=
d

all card payments are encrypted using the internationally accepted <a

href=3D"javascript:Showinfowindow('/popups/secure.html')" class=3D"textlink=

">
Security System, SSL</a>.</span>
</td>
</tr>
</table>

<table width=3D"135" border=3D"0" cellpadding=3D"2" cellspacing=3D"0">
<tr>
<td width=3D"135" align=3D"center" valign=3D"top">
<script
src=3D"
https://seal.verisign.com/getseal?host_name=3Dwww.kuoni.co.uk&amp;size=3DS&=
amp;ue_flash=3DYES&amp;use_transparent=3DYES&amp;lang=3Den">

</script>
<br/>
<a href=3D"http://www.verisign.com/ssl-certificate/" target=3D"_blank"
style=3D"color:#000000;text-decoration:none; font:bold 7px verdana,sans-ser=
if;

letter-spacing:.5px; text-align:center; margin:0px; padding:0px;">ABOUT SSL
CERTIFICATES</a>
</td>
</tr>
</table>

<img height=3D"1" width=3D"1" src=3D"

https://switch.atdmt.com/action/outkuo_SportAbroadBookingStart_10"/></p>
</div>


<!-- <xsl:call-template name=3D"FOO"/> -->


<!--Call the page footer template-->

<xsl:call-template name=3D"template_footer"/>


</div>
</div>

</body>

</html>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.