开发者

Help with XML path views

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

<Service>
 <header/> 
 <Body>
  <element1/>
  <e开发者_如何学编程lement2/>
 </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.


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.


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).

Help with XML path views


(source: eclipse.org)

See:

  • News and Noteworthy features for WTP 3.1 (June 2009) Source Editing Service
  • other new features for the upcoming WTP 3.2
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜