Subject: RE: How to output the less-than sign (and not <)
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Mon, 1 Mar 2004 19:39:12 +0100
|
> -----Original Message-----
> From: Amuchastegui, Maria
>
> I am trying to generate HTML which contains an embedded
> hyperlink. However,
> because I use < as the start tag, the resulting HTML displays
> the actual
> source code, and not a hyperlink. How do I escape the escape character so
> that the HTML contains the less-than sign?
>
Hi,
Is there any reason in particular why you can't do, for instance :
<xsl:template match="???">
<xsl:text>Upon pressing submit you are agreeing to the Terms and
Conditions on </xsl:text>
<a href="http://www.bell.ca" target="newwindow">bell.ca</a>
<xsl:text> the terms and conditions on Bell's site</xsl:text>
</xsl:template>
?
Remember that the 'tags' are, especially in this case, valid XML, ergo valid
XSLT code.
Hope this helps!
Cheers,
Andreas
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|