[sword-devel] OSIS formatting
Greg Hellings
greg.hellings at gmail.com
Thu Jun 16 16:16:56 MST 2005
David Blue,
The modules I am concerned about do not need to have the styling hand-coded
in. The only reason they have this is because it is the only nice way to
specify font changes and size changes, etc. This material is imperative to
my modules as the current users of the material expect it to be there. I am
fully in favor of separating out the presentation data from the formatting
data, as then I could specify a stylesheet for print or a stylesheet for
screen or a stylesheet for any number of other things. However, there is
absolutely no way for this to exist within Sword at the moment. At least,
there is nothing that I am aware of that will allow me to do it. I
understand the concerns with separating data from formatting (having been
educated in the post-HTML rise of XML) but am currently unable to do that.
It is fine and good to say that the formatting ought to be left up to the
front-end, but the OSIS spec says that it ought to use XSL and CSS to
determine styling, and CSS has a preference heirarchy for whose stylesheets
ought to be used (
http://www.w3.org/TR/2005/WD-CSS21-20050613/cascade.html#cascade). Granted,
there ought to be a way to disable the stylesheets that are imported, but I
think that they ought to be available to module authors.
--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/sword-devel/attachments/20050616/aa8c2db3/attachment.html
More information about the sword-devel
mailing list