Pascal Voitot wrote
I'm not the guy to give you any answer but I'm
interested in this idea...
What do you mean exactly by "guide the edition complying with this schema"?
Should it be just metadata associated with the doc or should the doc follow
a template based on this schema or is it a kind a form associated to the
document?
Great to hear than anybody else thinks that this could be a "no so
stupid idea" It is a pity that the idea is not mine :-)
Any document must follow the rules or grammar set in the schema. A
really simple example. Thing about an scientific paper, or a business
report, or a medical history. We could define a common set of features
to each "family" of documents. For instance, it is commonly accepted
that a scientific paper must content at least a summary, an
introduction, material and methods, results discussion and bibliography.
Introduction usually content a number of paragraphs, but no tables, no
images, no lists. Results could content tables and/or pictures.
Bibliography, a list of references. This structure could be described by
an schema, whatever language is used for that.
What I am looking for is to know how long, or close, is XWiki to be able
to guide de edition of a new document belonging to one of this "families".
DocBook is a much more complex schema suited to write books and papers
about computer hardware and software.
Of course there is a whole universe out there dealing with this topics.
The question here is of XWiki is, or has the possibility of being, able
to be one of this "no so stupid" ideas that will ease the path to
start-ups not needing the whole complexity of SGML/XML driven, or
guided, editing.
Looking at the new rendering module (general architecture)...
http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule
... there are a number of supported syntaxes listed there. Parsers for
each syntax will, optionally, generate a XDOM object suitable for
transformations and that will be the entry for the renderers. My guess
is that it will be possible to use a given parser at entry time. It
probably won't be be called a parser in this case! The point is to have
a tool that, in a given document, only allow entries complying with the
rules/grammar defined in a given schema (again, whatever language is
used to write it).
I would not like to mess up things here. I am far from having a clear
idea about the field I am talking about. But at the same time, I do need
to talk with somebody/read more and more to clear up things! So, please,
excuse me if these posts are not plenty or erudition. And, please, don't
hesitate to tell me if this not the right place to post about this.
Thanks for your time,
Ricardo
--
Ricardo RodrÃguez
Your EPEC Network ICT Team