[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: "Beckers, Marc" <Marc.Beckers@xxxxxxxxxxxxxx>
Date: Tue, 6 Mar 2001 12:08:02 +0100
curly style font
Mike's answer also works, of course, what I meant
to say was: you don't need any curly brackets.

Marc

> 
> The correct syntax for local CSS would be (long version):
> 
> <a style="font-size: 10pt; font-family: arial;"
> href="/path/page.jsp">click</a>
> 
> (Note that versions of Netscape 4.x like the semi-colon
> after the last CSS instruction on the style attribute)
> 
> The curly braces is the syntax for CSS in an internal
> or external style sheet:
> 
> a {font-size: 10pt; font-family: arial;}
> 
> My guess is the two got confused ...?..
> 
> Marc
> 
> > The curly braces denote an attribute value template, the 
> contents are
> > treated as an XPath expression. If you want the generated 
> > HTML attribute to
> > contain curly braces, double them:
> > 
> > <a style="{{font: 10pt arial}}" href="/path/page.jsp">click</a>
> > 
> > Mike Kay
> > 
> > 
> >  XSL-List info and archive:  
http://www.mulberrytech.com/xsl/xsl-list
> 

 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.