An editor built with Edwood will display an XML document as the HTML document of your choice. It will show validation errors in real time, and let the user correct them in-place. In the end, it will serialize the document so that the user can save it back.
Edwood understands Relax NG schemas.
At the document level, Edwood offers a DOM interface for you to edit an XML document and locate validation errors. At the UI level, Edwood provides React components to edit a document or part of it. An Edwood application is really a React application that uses an Edwood DOM as its model and Edwood components in its views.
Have a look at the demo for an example.
The project is at an early stage. API is very likely to change.
You must write schemas in Relax NG simple syntax, without external reference nor include.
ns attribute of
value patterns are ignored.
Edwood supports only a few XML Schema datatypes and facets for now.
Edwood performs global (not yet incremental) validation and rendering, which is unsuitable for large XML documents.
Released under the MIT license.