MozillaZine

DOM-tree Viewer For Mozilla

Sunday September 19th, 1999

Roland Mainz writes in with an interesting bit of news for people interested in getting a view of how their page is organized via the DOM. Roland writes:

"We have a new feature in Mozilla, which beats IE5 (again):

- IE5 has a tree-view for XML documents
- Mozilla now has a DOM-tree viewer (XML, HTML etc.)

Available from the menu item 'Debug | DOM Viewer'.

Take a look at Bug 11369 for details ! This rocks !"

I'm not sure if this is available in the latest nightly builds, or if you have to build a debug build to see it.

#1 DOM-tree Viewer For Mozilla

by Anon

Monday September 20th, 1999 8:59 AM

Thanks... but the email link links back to mozillaZine :-( email is Roland.Mainz@informatik.med.uni-giessen.de

The DOM viewer should be included with the latest builds - I downloaded the 18.9.1999-tarball and build my version from it...

#2 fixed. extra quote in the <a> tag (n/t)

by mozineAdmin

Monday September 20th, 1999 9:16 AM

#3 DOM-tree Viewer For Mozilla

by Anon

Monday September 20th, 1999 9:33 AM

This feature is most important for XML developers because now they can browse their documents without making a stylesheet.

Maybe later we can add a DOM editor based on this work, e.g. add/remove/edit elements/attributes dynamically... :-)

#4 DOM-tree Viewer For Mozilla

by Ben_Goodger

Monday September 20th, 1999 4:48 PM

This is one of my plans for the editor sidebar. I would very much like to merge this with the Advanced Edit dialog, so elements can be edited/ added etc.

#5 DOM-tree Viewer For Mozilla

by Anon

Tuesday September 21st, 1999 1:11 PM

We can build many good thing on top of this work... Hopyfully this gets into the "final" 5.0-release...

#6 Not as good as IE 5

by Anon

Tuesday September 21st, 1999 2:37 PM

I find IE5.0's full-screen syntax-colored XML source view with collapsable tags much more pleasing to the eye.

When using the Mozilla DOM viewer, I can't see attributes unless I expand nodes, newlines show up as garbage characters, etc.

With Microsoft's viewer, you get the benefit of seeing the XML nicely indented in it's source view, but also syntax colored to be very readable, plus it is collapsable like a tree.

Can the syntax coloring/indented source view style be implementedin Mozilla?