« Return to Thread: simple xml editor

Re: simple xml editor

by Ernie Rael :: Rate this Message:

Reply to Author | View in Thread

In the thread "[openide-dev] Add a new xml file type with schema", Vivek Jain says:
If you are creating a new file type for an xml document, provide the MIME type ending with +xml. MIME types like  text/x-zul+xml are used in the IDE to represent an XML document that is more specifically .zul type.

Creating a filetype like this, IDE will treat .zul files as an XML document. .zul files editor will provide all functionality like code highlighting, indent, code folding, code completion and any other what you can get for an xml document.
Hope this helps,
-ernie

Roberto Nunnari wrote:
Hello.

I'd like to develop a simple xml editor based on netbeans
platform for a particular xml schema, something like the ide
has for the web.xml file.. Just the explorer, the navigator,
the editor and the output window.
[snip]

 « Return to Thread: simple xml editor