Hi Chris. I thought to do it (read, modify with standard XML processor and DOM core calls).. but it doesn't works.. i have to create a picture with svg that take some information from a xml file.. then i've took all the data from the xml-file and i've put it in a JTree. (Ok) i've done with JDOM (www.jdom.org) but the problem is: when i try to do the same, but with the svg file, it doesn't work .. my code: public class SVG2Java { public SVG2Java() { try { SAXBuilder builder = new SAXBuilder(true); Document doc = builder.build("file.svg"); Element svg = doc.getRootElement(); List svgTags = svg.getChildren("svg"); } catch (Exception e) { e.printStackTrace(); } } } ------------- Maybe is something wrong about SAXBuilder?? Thank's! -- Xavier MurilloReceived on Tuesday, 8 June 2004 09:25:33 GMT
This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:27 GMT