Jquery-based jquery editor that uses xml schemas

I need an xml web editor that uses schema XML documents to control the addition of elements and attributes. For example, providing drop-down lists for subitems when permitted subitems are listed in a schema document. And if the item type is a "date" that provides a date picker.

In addition, it must be extensible, so I can create my own element types. For example, the type is "HTML", which I can define to call the CKEditor instance for editing.

I actually wrote one of them in the past, but not with jquery. I'm going to start all over again, but it looks like it's already possible.

If this is not a complete tool, then any useful libraries that I can use will also be appreciated.

Thank you very much, and I hope this question is not too vague or off topic.

Thanks! Don undeen

+4
source share
2 answers

This question seems to be unresolved since at least a decade. I will talk about the available solutions. Ranked from most promising to pleasant to hear.

  • xsd-forms creates a jQuery-based user interface based on an XML schema. The public beta is scheduled for June 2013.
  • codemirror seems like a pretty good choice. It has auto-complete XML . However, this autocomplete must be configured manually.

The concepts of XSD-based XML editors without the current implementation are described on two systems on the network:

A fairly old review is provided at: http://wadoku.de/wiki/display/DEV/XSD2Form

Some rudimentary implementations are available at:

As far as I remember, the STP policy editor also generates some kind of user input from the XML schema. Perhaps this code can be reused? http://wiki.eclipse.org/Policy_Framework_in_STP

Common XML editors in a browser:

  • jquery.xmleditor may be what you are looking for. They offer a graphical interface for editing XML. For the XML text editor, they rely on the Cloud9 editor. Keep in mind that Cloud9 is licensed by the GPL.
  • LiveXMLEdit is more like an explorer-like editor, but maybe it helps too
  • AXEL is a library for creating XML development applications based on document templates.
+3
source

We are selling Xopus SDL XML editor that does exactly what you need, except for handling unstructured HTML in XML. But Xopus handles mixed content very well, so there is no need for this.

For more information see http://xopus.com/demos/

+2
source

All Articles