xsl-list
[Top] [All Lists]

Re: [xsl] SSI echo as an attribute value

2006-09-14 07:14:51
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(_at_)nag(_dot_)co(_dot_)uk>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--