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

string without %20 in HTML image map

Subject: string without %20 in HTML image map
From: Jean-Claude Tarby <Jean-Claude.Tarby@xxxxxxxxxxxxx>
Date: Thu, 20 Jul 2000 16:55:20 +1000
in html
Hi.

I want to produce an imagemap in HTML. In my stylesheet, when I write :

<img src="{$nameComponent}.gif" border="0" usemap="#{$nameComponent}" /> 

<map name="{$nameComponent}">
<xsl:for-each select="SubComponent">
   <area shape="rect" 
         coords="..."
         href="..."
         alt="..."/>
</xsl:for-each>
</map>

and if $nameComponent="My Component", I obtain :

<img src="My%20Component.png" border="0" usemap="#My%20Component">
<map name="My Component">
   <area shape="rect" coords="..." href="..." alt="...">
   <area shape="rect" coords="..." href="..." alt="...">
</map>

SO, the image map cannot run because usemap="#My%20Component" and map
name="My Component". It should be usemap="#My Component". What is the
reason??? What solution? 


J.C.


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


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.