|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] string without %20 in HTML image map
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








