Hi Thomas, Thanks a lot for the tip. It led to fixing the problem. I also tried to see if I could have a text element like "aaa bbb ccc" keep it's spaces when displayed by using the xml:space="preserve" but it had no visible effect with the JSVGCanvas I'm using, although it worked in Internet Explorer with the Adobe SVG plug-in,
-Randy -----Original Message----- From: Thomas E Deweese [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:49 PM To: Batik Users Subject: RE: P.S. getNodeValue() versus getText(), added space? >>>>> "BR" == Baron, Randy {PRG~Basel} <[EMAIL PROTECTED]> writes: BR> Or it could also be that getText strips a space off and BR> getNodeValue keeps it. In either case though, the behavious seems BR> to be different. I believe this is it. I think getText pays attention to the value of the 'xml:space' attribute - per the SVG specification. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
