Subject: Re: [xsl] implementation of xsl:strip-space. RESOLUTION From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Tue, 28 Jan 2003 02:34:48 +0100 |
For more information: http://www.w3.org/TR/xslt#section-Result-Tree-Fragments
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] implementation of xsl:str, Wright, Steve | Thread | [xsl] XUpdate, S Woodside |
[xsl] constructing the Node Sets, Siva Jasthi | Date | Re: [xsl] XUpdate, Joerg Heinicke |
Month |