Hello guys,
I'm encountering problem with the ordering of the tspan nodes in an svg
document. I have a document with text node and several child nodes of type
tspan. My svg file looks similar to this one:
<text stroke="blue" font-size="20" transform="matrix(1 0 0 1 20 40)">1
<tspan dy="20">2</tspan>
<tspan y="20">3</tspan>
<tspan dy="20">4</tspan>
<tspan y="60">5</tspan>
<tspan dy="0">6</tspan>
</text>
The problem is that when I get all child nodes of the text node, the
resulted order is: 2 4 6 3 5. Does anyone know how can I get the same order
as it is in the svg file?
Thanks in advance.
--
View this message in context:
http://www.nabble.com/SVGOMDocument-and-getChildNodes-ordering-tp21254983p21254983.html
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]