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: "Kevin Duffey" <kevin dot duffey at home dot com>
- Date: Tue, 6 Mar 2001 06:58:12 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hey..that worked! Thanks Dave. By using:
<a style="font: 10pt arial; color: red">
did the trick. I didn't know I didn't need the {} around it.
Thanks.
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of David
> Carlisle
> Sent: Tuesday, March 06, 2001 1:10 AM
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] How to use <a style="{font: 10pt arial}"> in XSL?
> Keep getting error.
>
>
>
> 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.
>
>
>
> Why have you got {} there. They are attribute value templates that
> tell the system to evaluate the contents of the {} as an XPath
> expression. font: 10pt arial is not an XPath expression.
> Just remove the {}.
>
> David
>
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star
> Internet delivered
> through the MessageLabs Virus Control Centre. For further
> information visit
> http://www.star.net.uk/stats.asp
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list