[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xml DOM/DTD graph visualization

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: james.anderson@s..., xml-dev@l...
  • Date: Mon, 25 Jun 2001 10:16:46 -0500

dtd graph
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!

Len 
http://www.mp3.com/LenBullard

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: james anderson [mailto:james.anderson@s...]


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[0], 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[1], as SVG[2]
REC-xhtml1-20000126.html: DTD as DOT[3], as SVG[4]

They tend to tax this viewers patience and perspicacity. Which leads to
the questions:

When one is "visualizing" a DOM or a DTD, which relations is one
"looking" for?
- 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?

...

[0] http://homepage.mac.com/james_anderson/XML/index.html
[1] http://homepage.mac.com/james_anderson/XML/Graphs/xmlSpec.dot
[2] http://homepage.mac.com/james_anderson/XML/Graphs/xmlSpec.svg (768K)
[3] http://homepage.mac.com/james_anderson/XML/Graphs/xhtmlHtml.dot
[4] 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.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.