xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbisch, Martin" <barbi...@sony.de>
Subject RE: I figured out part of implementing Scrollbar
Date Mon, 20 Jan 2003 09:19:36 GMT
I  guess it should be:
 
  var XMLNS = "  <http://www.w3.org/2000/svg> http://www.w3.org/2000/svg";
  newconElement.setAttributeNS(XMLNS, "xlink", XMLNS); 
 
Martin
 


Hi William Huang,
 
I do not know whether this solves your problem, but I think you should use
'setAttributeNS' for 'xmlns:xlink':
 
    var XLINKNS = "  <http://www.w3.org/1999/xlink>
http://www.w3.org/1999/xlink";

    newconElement.setAttributeNS(XLINKNS, "xlink", XLINKNS);
    ....


Mime
View raw message