0

How can I get autocompletion or intellisense or content assist options for XML attribute "values" using a preexsting sample XML(and nothing else) in some text editor?

For example If have

<samplexml attr="a">
</samplexml>
<samplexml attr="b">
</samplexml>
<samplexml attr="c">
</samplexml>

Then when I type <samplexml attr= I should be shown the options a,b and c

I would like the above in Eclipse, but if not Eclipse is there some other open source tool which can give me this?

seahorse
  • 2,420
  • 4
  • 31
  • 40

1 Answers1

0

Eclipse XML editor would give you auto-complete if you have root node. The problem with this XML is it dont have root node

enter image description here

Refer http://en.wikipedia.org/wiki/Root_element

Community
  • 1
  • 1
Vinay Lodha
  • 2,185
  • 20
  • 29