Helder Magalhães <helder.magalhaes <at> gmail.com> writes: > The "xml:space" property controls the XML processor's white space > handling [1]. Setting it to "preserve" leads to all whitespace being > kept for processing. That's exactly why your text is being > repositioned - it contains leading (and trailing) white space ! > > To achieve the (apparently) desired effect, one should trim remove all > undesired whitespace: Hi, yes you are right. It's so simple. I was using batik to generate the svg. I'm sure the text of the text node doesn't contain any leading spaces. So somehow i have to tell batik to write the text without formatting spaces e.g. I will have a look. Thanks. ByeReceived on Saturday, 5 July 2008 06:10:33 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:55:06 GMT