xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kane <dk...@money.buser.net>
Subject Re: Error in style handling
Date Thu, 23 Aug 2001 16:46:46 GMT
Folks,

> This is a bug in getCssText(). I will fix it as soon as possible.

Thanks!

> > * The second problem is the quotaton marks around the font-family style
> > attribute.  Because the style attribute itself is written with quotes, the
> > attribute is no longer well formed.
>
> getCssText() is suitable for doing things like:
>
>   element.setAttributeNS(null, "style", styles.getCssText());
>
> But you can't write it directly in an XML file. Before you must replace
>   ' " < > &  by  &apos; &quot; &lt; &gt; &amp;

Is there an preferred mechanism for setting the properties of a style
attribute?

I had tried CSSStyleDeclaration.setProperty earlier, but once I passed the
node back, the property changes didn't seem to remain with the node.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message