Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!DOCTYPE teST [
<!ENTITY nbsp " ">
]>
<test>
<js>
<jquery active="true" version="3.6.0"/>
<htmx active="false" boost="true"/>
<accessibility active="false"/>
</js>
<notices>
<general/>
<local/>
</notices>
<foo/>
<bar></bar>
<custom x="?"/>
<this>that</this>
</oops>
1) attributes are shown, but only first ones; I guess either all should be shown, or none -- or a button with a switch, maybe?
2) empty tags (no attributes & no content) are not shown (general, local, foo) -- shouldn't they? I guess it depends on how they're written, since bar is empty and it made it into the list
3) ENTITY should go under DOCTYPE
4) if you remove question tag from custom tag attribute value, all tags above it would disappear (so it'd be only custom and this)
Moreover:
5) refresh button doesn't work

6) expand all/collapse all button would be great
7) visual cue for the current tab is a must: now it's hard to tell if you're on "Code" or "Tags" one
General message if errors were found during parsing XML file would be good, too!