views:

18

answers:

2

Hi all,

is there any tool that will give me a view for XML fields like so.

<Service>
 <header/> 
 <Body>
  <element1/>
  <element2/>
 </Body>
</Service>

I want something that will show me the a view like so, if i select element1

Service/Body/element1

Is there any tool for eclipse for doing the above.

Thanks.

A: 

If you have the Eclipse J2EE edition, or if you install the Eclipse WTP (Web Tool Platform), you will have a view able to show XML content (it will include the XML component).

alt text

See:

VonC
A: 

It'll actually be written in that form on the editor's status line, as well.

Selecting an Element will show you its "path" while selecting an Attribute will include it but swap the icon to the correct one.

nitind