cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: <expr> inside of an svg rect
Date Sun, 01 Apr 2001 18:08:13 GMT
On Sun, 1 Apr 2001, Mike Karban wrote:

> I am trying to dynamically generate the size of a rect that is using fo to
> be translated to pdf.  I can't seem to find the right code to use the expr
> tag to insert the size parameter that I send to my xml.  Is this possible in
> one step?
>
> e.g. <svg:rect x="1.15in"
> y=<xsp:expr>normalize(getParameter("Y"))</xsp:expr> width=".25in"
> height=".125in" style="fill:maroon"/>

use xsp:attribute to create the attribute and and xsp:expr to create its
value.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message