Subject: RE: attribute value templates & javascript entities, etc
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 28 Jun 1999 10:25:26 +0100
|
> Problem 1: Imagine you need an HTML attribute such as BACKGROUND to be
> computed in a page's run time context. So I want to use a javascript
> entity in the final HTML (though javascript is not essential to the
> problem):
>
> <BODY BACKGROUND="&{backgroundUrl}" ... >
>
If I understand the question correctly, the answer is:
<BODY BACKGROUND="&{{backgroundUrl}}" ...>
or, in SAXON 4.3 (sorry about the non-conformance):
<BODY BACKGROUND="&{{backgroundUrl}" ...>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|