|
|
|
|
|
by holloway
4497 days ago
|
|
Hi, it (sort of!) already does support arbitrary schemas, or were you meaning that you want to be able to give it a schema through the interface (URL/file upload)? It doesn't currently support the later, although there's no reason why it couldn't. Currently if you wish to add a schema just needs a thin wrapper where you tell it the elements that are to be displayed as inline (rather than block). Specifically, an .RNG or .XSD file just needs a tiny reference to a schema family:
https://github.com/holloway/doctored/blob/master/doctored/sc... And that config file is a pointer to these schema families https://github.com/holloway/doctored/blob/master/doctored/js... that name the inline/block config. |
|