Gurleen Randhawa wrote:
I am trying to add the following event attribute on a circle , but when
the HTML is produced the single quotation mark changes to ' .
Who is producing the HTML? What you are showing modifies the
DOM in memory is sounds like you are then serializing that to a
browser. Who is serializing the DOM?
I tried the following code
svgEllipse.setAttributeNS(null, "onclick" , "showDialog('onmouseout')" );
and
svgEllipse.setAttributeNS(null, "onclick" , "showDialog(\'onmouseout\')" );
BUT when I view it in the browser I see it as
onclick="showDialog('onclick')
I was trying to implement the example stated on the batik website.
http://xml.apache.org/batik/scripting.html#howToUseScripting
<http://xml.apache.org/batik/scripting.html#howToUseScripting>
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]