XML Hypergraph
See
http://taporware.mcmaster.ca/~taporware/xmlTools/hypergraph.shtml
Description
Tool uses Hypergraph Package (
http://hypergraph.sourceforge.net/) to display the structure of the submitted xml file. This tool requires jsdk1.4.2 or later. Otherwise, only the default hypergraph is displayed. (Note: If one node has more than 10 children nodes, only the first 10 children nodes are shown).
HyperGraph is an open source project which provides Java code to work with hyperbolic geometry and especially with hyperbolic trees.
Pseudocode
- Obtain XML string by URL or from user's local disk. If the text is not an XML, return an error message
- Use xslt file (based on the hypergraph rules) to translate the input xml string to a hypergraph enabled xml file so that it can be displayed in hypergraph format
- Generate an applet so that the hypergraph can be displayed in a browser
Ways of Using
- Enter your xml document by URL or form your local disk
- Uncheck the open in new window checkbox if you want to see the taporware interface and then click submit button
- Click or drag to move the graphics
- Click or double click node of level 3 or below to see the content contain in this node
- Note: the limit of children nodes of each parent node is 10.
CGI Interface
If you want to use this tool from your web site, here is the CGI Interface:
(
Note: You need to use attribute name/value pair: enctype="multipart/form-data" within the form tag because the tool was to designed to allow local file uploading in mind)
Here are the parameters:
| Parameter Name | Parameter Value | Control Type | Default | Discription |
| source | url/local | radio button | url | Let user select input text (either a url or upload local xml text) |
| xmlurl | | text | | A valid URL that the pointed document should be an xml text |
| localFile | | file | | The path to your local xml text file |
| taporface | | checkbox | checked | Checked to open in a new window without taporware interface |
Web Service Interface
Taporware provides web services to any non-benefit organizations. Here is the taporware web services infomation:
Known Bugs
To Do
--
LianYan - 27 mar 2007