开发者

tool to view XML as a tree? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_开发百科

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

Is there any java based tool to view the XML file in the form of binary/ternary tree?

I need a pictorial view of tree.. in the form of nodes and edges.. like a graph..

please help me


If you have any XML/XSLT skills you could transform your XML to SVG. This method would allow you to draw anything you want. See an example here. Once you have the SVG file you can upload it into Google docs or view it in Photoshop or embed it in an html document.


Eclipse (IDE) www.eclipse.org

The XML editor also has a Design view. This view has the following features:

  • List item

    The XML file is represented simultaneously as a table and a tree. This helps make navigation and editing easier.

  • Content and attribute values can be edited directly in the table cells, while pop-up menus on the tree nodes give alternatives that are valid for that location. For example, the Add Child menu item will list only those elements from a DTD or XML schema which would be valid children at that point (as long as grammar constraints are on).


Take a look at JUNG, http://jung.sourceforge.net/. I've used that toolkit to create an XPath visualizer, which was kind of fun. Don't remember if there was a ready XML to tree example, or not, though.


XML Spy would be good, but it's not free.

You can open XML in any browser and see it rendered as a hierarchy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜