|
Subject: RE: [xsl] How to use <a style="{font: 10pt arial}"> in XSL? Keep getting error. From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 6 Mar 2001 09:29:59 -0000 |
> 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>
>
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] How to use <a style="{fon, Kevin Duffey | Thread | Re: [xsl] XSL,Javascript, NS 4.x, Christopher R. Maden |
| RE: [xsl] Create a variable at run , Michael Kay | Date | [xsl] multiple xml as input, B. Dexheimer |
| Month |