[Home] [By Thread] [By Date] [Recent Entries]
Hi all, can you advise on the best way to embed an SSI echo as the value of
an attribute in XSLT 2:
<a href="<!-- #echo var="service.module" -->">text</a> I have tried using a character map to represent the opening and closing comments: <xsl:character-map name="comment-delimiters"> <xsl:output-character character="&start-comment;" string="<!--"/> <xsl:output-character character="&end-comment;" string="-->"/> </xsl:character-map> with following doctype: <!DOCTYPE xsl:stylesheet [ <!ENTITY start-comment ""> <!ENTITY end-comment ""> ]> and the following call: <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. Given that 'disable-output-escaping' is deprecated in XSLT 2 how would you advise doing this task? _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters
|

Cart



