Re: [xsl] SSI echo as an attribute value

Subject: Re: [xsl] SSI echo as an attribute value
From: "tom tom" <tomxsllist@xxxxxxxxxxx>
Date: Thu, 14 Sep 2006 15:14:31 +0100
yes, <a href="&start-comment;fff&end-comment;"/> works! I thought I was taking a safer option by putting it in an xsl:attribute and stupidly didn't try it that way.

FYI when I put it in an xsl:attribute it comes out as:

<a href="%EE%94%81fff%EE%94%82">



From: David Carlisle <davidc@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] SSI echo as an attribute value
Date: Thu, 14 Sep 2006 14:28:55 +0100

<a>
<xsl:attribute
name="href"><xsl:text>&start-comment;</xsl:text>fff<xsl:text>&end-comment;</xsl:text></xsl:attribute>
</a>
This doesn't work.


It should work I think, although I'd write it as

<a href="&start-comment;fff&end-comment;"/>

Did you specify the character map in xsl:output?

David


_________________________________________________________________
Download the new Windows Live Toolbar, including Desktop search! http://toolbar.live.com/?mkt=en-gb


Current Thread