Extend XML Editor [message #673976] |
Wed, 25 May 2011 07:15  |
Eclipse User |
|
|
|
Hi all,
this is my first post here.
I would like to add some features to XML default editor.
I am new to plugin development and plugin extensions.
How can I start?
Thanks
Bye
Marco
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Extend XML Editor [message #676682 is a reply to message #675987] |
Mon, 06 June 2011 02:33   |
Eclipse User |
|
|
|
Ok, at the moment I am using Indigo release and I do not have those warnings anymore.
I explain better my goal.
I have an XML file which represents a series of step to be taken.
What can be done inside each step is defined in a second XML file.
So, the content assist is for the values of attributes and not for the attributes themselves, or for tags as the "classic content assist"
Is it possible to query this XML file using XPath and using as argument of my XPath function what has be written by user?
I tried to query an XML file using XPath and it works. But, now, I would like to query according to what user wrote.
I make an example:
<employee level=" At this point the content assist should display the available level. So, I have to write an XPath expression to query an external XML file and ask for the all available levels, then, present them in the a "content-assist-like"
No problem about XPath, I know it; my problem is to get the attribute and then represent the values...
How do I get the last inserted attribute?
Thanks
Marco
[Updated on: Mon, 06 June 2011 07:50] by Moderator
|
|
|
|
|
Re: Extend XML Editor [message #721557 is a reply to message #720855] |
Fri, 02 September 2011 02:02  |
Eclipse User |
|
|
|
Hi,
Eclipse Indigo (I think previous releases too) contains a project called XMLExample; just create a new project and then choose "Example".
It contains some XML files with DTD/Schema too.
|
|
|
Powered by
FUDForum. Page generated in 0.05466 seconds