This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to use <a style="{font: 10pt arial}"> in XSL? Keep getting error.
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How to use <a style="{font: 10pt arial}"> in XSL? Keep getting error.
- From: "Tim Watts" <timw at 3d3 dot com>
- Date: Tue, 6 Mar 2001 17:01:37 +1100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Kevin,
I often use the {} tags in the XSL that I write to indicate code in brackets
that needs to be parsed (usually xml:value-of for values in javascript parts
of the code.)
It seems to me that the parser is trying to part the font: as if it were a
namespace prefix such as xsl:
I would suggest using external css's and refer to this in the XSL such as
<a class="anchorred" href="/path/path.jsp">click</a>
<a class="anchorgreen" href="/path/path.jsp">click</a>
<a class="anchorblue" href="/path/path.jsp">click</a>
Tim :)
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Kevin Duffey
Sent: Tuesday, 6 March 2001 4:42 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] How to use <a style="{font: 10pt arial}"> in XSL? Keep
getting error.
Hi there,
I am sure there is a good reason for why the error of "Namespace prefix font
has not been declared" when I use the syntax of
<a style="{font: 10pt arial}" href="/path/page.jsp">click</a>
I would like to use styles on my pages to give links different colors and
faces.
Thanks.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list