[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: xml DOM/DTD graph visualization
- From: "Bullard, Claude L (Len)" <firstname.lastname@example.org>
- To: email@example.com, firstname.lastname@example.org
- Date: Mon, 25 Jun 2001 10:16:46 -0500
It comes up in the Adobe SVG viewer just fine.
It defaults to a very close view so one has to
zoom quite a while to see it. Even then,
defaulting to upper left without any movement
controls is tough viewing.
Very complex stuff apparently. Needs some
more navigation controls. Nice work!
Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h
From: james anderson [mailto:email@example.com]
I was curious about how an automatic layout package would fare with DTD
and DOM graphs. A naive generator for GraphViz's "dot" format is a
straight-forward graph walk. The "dot" file describes the connectivity
only. GraphViz is left with the hard work. The results are adequate for
smaller examples, but larger instances will need a more refined approach.
The larger files failed to load with the current GraphViz 1.7.6 beta for
Windows. As I'm rather Linux/C imparied, I was fortunate and grateful,
that someone was curious and ran them through the Linux version. Thus
the two SVGs below, which I was able to view with Adobe's SVG plugin.
REC-xml-20001006.xml: DTD as DOT, as SVG
REC-xhtml1-20000126.html: DTD as DOT, as SVG
They tend to tax this viewers patience and perspicacity. Which leads to
When one is "visualizing" a DOM or a DTD, which relations is one
- direct neighbors to a given element/attribute or element type definition?
- direct siblings?
- a vertical sub-graph comprising a specified node subset?
- a vertical sub-graph ...?
- nodes in the same namespace?
- some other partition?
How would one wish to describe what one is "looking" for.
- a collection of names?
- a path expression?
Anyone curious about DOCBOOK?
 http://homepage.mac.com/james_anderson/XML/Graphs/xmlSpec.svg (768K)
 http://homepage.mac.com/james_anderson/XML/Graphs/xhtmlHtml.svg (444K)
ps. I don't know how to get the server to specify the correct mime type.
It serves the SVGs up as text/plain, so one may need to download them
separate from viewing.