& in XSL

Here should go questions about transforming XML with XSLT and FOP.
Posts: 1
Joined: Tue Aug 28, 2007 6:01 pm

& in XSL

Post by KalyanG » Tue Aug 28, 2007 6:13 pm

I have a problem converting the following JavaScript code in DHTML to XSL.

The problem area is:


https://seal.verisign.com/getseal?host_ ... co.uk&siz=


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

In IE, it displays the seal but 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 "£">
<!ENTITY amp "&">
<xsl:stylesheet version=3D"1.0" xmlns:xsl=3D"


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


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"/>


<!--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" />

<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">

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

Please complete the following details to check the availability of your
holiday and make a booking or quote.

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

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

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

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>

<table width=3D"135" border=3D"0" cellpadding=3D"2" cellspacing=3D"0">
<td width=3D"135" align=3D"center" valign=3D"top">
https://seal.verisign.com/getseal?host_ ... k&size=3DS&=

<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=

letter-spacing:.5px; text-align:center; margin:0px; padding:0px;">ABOUT SSL

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

https://switch.atdmt.com/action/outkuo_ ... t_10"/></p>

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

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

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