You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Jane Singer <js...@cc.huji.ac.il> on 2002/11/17 05:36:37 UTC

XLinkSupport;

Yes that did it, thanks.
Jane
----- Original Message ----- 
From: "Thierry Kormann" <tk...@ilog.fr>
To: "Batik Users" <ba...@xml.apache.org>
Sent: Sunday, November 17, 2002 12:33 AM
Subject: RE: Wrong XMLReaderImpl


> 
> >  Element zigzag =  SVGdoc.createElementNS(svgNS, "use");
> >  zigzag.setAttribute( "xlink:href",  ("#zg" ));
> 
> You should use:
> 
> zigzag.setAttributeNS(XLinkSupport.XLINK_NAMESPACE_URI, "href", "#zg");
> 
> >  zigzag.setAttribute("x", Double.toString(x));
> >  zigzag.setAttribute("y", Double.toString(y));
> 
> Thierry.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 



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