I found a inexplicable behaviour in squiggle svgbrowser -> domview. I many sases a given CDATA section is in the DOM-tree devided in more than one CDATA-node. In the svg code there are only one CDATA section.
this is a example-code from class: org.apache.batik.util.hui.DOMViewer /** * build the tree-model recursivly * @param node root-node (document-root) */ protected static MutableTreeNode createTree(Node node) { DefaultMutableTreeNode result; result = new DefaultMutableTreeNode(new NodeInfo(node)); for (Node n = node.getFirstChild(); n != null; n = n.getNextSibling()) { result.add(createTree(n)); } return result; } I do the same in my class and get the same (wrong ?) tree. My experience is, that on section contains approximatly 7000 Bytes script code. What is the reason for this behaviour ? I need this tree to support two way selection in my svg editor and editing attributes (even script elements). With kind regards Jan Lolling T-Systems Systems Integration Entwicklungszentrum Berlin Hausanschrift: Wittestrasse 30H, 13509 Berlin Postanschrift: Postfach 652, 13476 Berlin Tel.: (0 30) 4 35 77-54 44 Fax: (0 30) 4 35 77-53 07 mailto:[EMAIL PROTECTED] Internet: http://www.t-systems.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]