Subject: RE: [xsl] 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 |
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: [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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to use <a style="{font: 1, Kevin Duffey | Thread | RE: [xsl] How to use <a style="{fon, Kevin Duffey |
[xsl] How to use <a style="{font: 1, Kevin Duffey | Date | RE: [xsl] How to use <a style="{fon, Kevin Duffey |
Month |