[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to use <a style="{font: 10pt arial}"> in XSL?

Subject: RE: How to use <a style="{font: 10pt arial}"> in XSL? Keep getting error.
From: "Tim Watts" <timw@xxxxxxx>
Date: Tue, 6 Mar 2001 17:01:37 +1100
arial mon font
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@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kevin Duffey
Sent: Tuesday, 6 March 2001 4:42 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.