Hey Sascha, I think it would be cool to be able to use xpath to define the
structure view for a given file type (based on schema or dtd). So I could say
for the root node, "this should say //site@name" and its children should be the
nodes found by xpath expression "element" and their text should be "(.@name):
(.@url)" and children should be result of xpath expression "inputs" and then
"outputs" and then "exits"
So instead of current structure view which looks like:
- site (name=Account)
- arrival (destid=home)
- element (file="blah/blah.xml", url="home", blah="Home")
It could be more like:
- Home (/home)
Do you understand what I mean? For most XML files I edit, structure view is
useless. This could make it cool again. What do you think of this?