wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Generating ER diagram from XML file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Generating ER diagram from XML file." Watch "Generating ER diagram from XML file." New topic
Author

Generating ER diagram from XML file.

Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
Is there any tool for generating database ER diagram from XML file.

urgent please.

thanks in advance
Suresh
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
You can make one yourself using SVG (Scalable Vector Graphics), which can produce graphics directly from an XML file for viewing in a web browser with an SVG plugin. The SVG file is an XML file with a .svg extension (it is rendered by a browser into an SVG), so all you need to do is write a Java class which can produce <rect> tags (rectangles to represent an ER box) with data specific to that ER (which can be input or read in from another file/class), and output the XML into a .svg. I have been using it to create graphics on the fly with raw data.

You can also use an API from apache called Batik (google for it).
 
Consider Paul's rocket mass heater.
 
subject: Generating ER diagram from XML file.
 
Similar Threads
EMF + UML 2 Tools [model to java code]
Best way for generating pdf file from an xml
Class diagram for database
Tool to generate the sql scripts from the ER Diagram ?
what is er diagram?