Subject: RE: [xsl] How to use <a style="{font: 10pt arial}"> in XSL? Keep getting error. From: "Kevin Duffey" <kevin.duffey@xxxxxxxx> Date: Tue, 6 Mar 2001 06:58:12 -0800 |
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@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David > Carlisle > Sent: Tuesday, March 06, 2001 1:10 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to use <a style="{fon, David Carlisle | Thread | RE: [xsl] How to use <a style="{fon, Michael Kay |
Re: [xsl] [exsl] EXSLT 1.0 - Common, David Carlisle | Date | RE: [xsl] multiple xml as input, Michael Kay |
Month |