RE: [xsl] implementation of xsl:strip-space. RESOLUTION

Subject: RE: [xsl] implementation of xsl:strip-space. RESOLUTION
From: "Wright, Steve" <Steve.Wright@xxxxxxx>
Date: Mon, 27 Jan 2003 18:48:51 -0500
Thanks Sherzod and Joerg for your suggestions.. It turns out that the
carraige returns were coming in through the varialbe 'imagefilename' that I
was setting (below), so by using: <xsl:variable
name="imagefilename"><xsl:value-of select="normalize-space(.)"
/></xsl:variable>, it works now.

Thanks again for your thoughts and comments.

-steve

p.s. I'm using the XT processor.


-----Original Message-----
From: Sherzod Ruzmetov [mailto:xslt@xxxxxxxxxxxx]
Sent: Monday, January 27, 2003 12:15 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] implementation of xsl:strip-space


    :<a>
    :<xsl:attribute name="href">
    :<xsl:text>javascript:bigFig('</xsl:text>
    :<xsl:value-of select="$imagelabel" />
    :<xsl:text>','../fig/big/</xsl:text>
    :<xsl:value-of select="$imagefilename" />
    :<xsl:text>','</xsl:text>
    :<xsl:value-of select="$imagelabel" />
    :<xsl:text>');</xsl:text>
    :</xsl:attribute>

Ok, don't use <xsl:attribute..>! Simply hard code the attributes.
It should work afterwards as expected!
http://www.handalak.com/styles/global.xsl
is the actual style sheet used by http://vs.handalak.com. Find the rules for
"deflist"
(definition lists). These are the lists that expand and collapse on mouse
click.

Let's see if it helps.

sherzod



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


****************************************************************************
This email may contain confidential material.
If you were not an intended recipient, 
please notify the sender and delete all copies.
We may monitor email to and from our network.

****************************************************************************



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


Current Thread