You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Donald Ball <ba...@webslingerZ.com> on 2001/04/01 20:08:13 UTC

Re: inside of an svg rect

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