Carl Castro wrote: > Thanks again for this information on format plugins. We are intending to > prototype some format plugins for our own semantic tags. > I am wondering whether it is really necessary to have a CSS file if we > provide a two-way mapping between DocBook tags and our own semantic tags. > We would like to minimize the number of entities we must maintain for this > solution, and also to support configurability so that documentation writers > may easily change tag mappings.
If you are writing a format plug-in which: * reads your own semantic tags and converts them on the fly to DocBook; * when saving a file opened this way, converts on the fly what looks like plain DocBook to your own semantic tags; then the format plug-in should include (i.e. embedded in the .jar) no CSS (and even no DTD) at all. We have never tested this, but in principle the default XXE DocBook configuration will be automatically applied to documents opened this way. If this don't work, just tell us and we'll try to fix the problem. --- PS: Really, really make sure that you can convert DocBook back to your own semantic tags. Without this working at 100%, the idea of using a format plug-in is a bad one.

