On 12/04/13 08:04, John Austin wrote:
Sword should support basic indents and line breaks. Content providers
should be able to control the formatting of their texts and should not
be required to assign their content to artificial <p>...</p> or other
containers to do so. Although these containers might be useful, the text
of some translation styles cannot be fit nicely into them. But often
content providers do rightly desire their texts to appear with
formatting similar to their printed texts, since this is exactly what
the translators deemed easiest to read and understand.

If I may give my 0.02 CZK, I would think that the answer is simple: No. This goes against the fundamental rule of XML, which is the separation of the content (and structure) from presentation.

All whitespace in XML is collapsible and irrelevant for anything more than separating words from each other. If you want your text to look different, than please no <font> elements, no <milestone type="x-p-indent"/>, or other abomination like that. We were there (e.g., see whole discussion about <font> element in HTML 3.2) and it was not nice. Elements in XML document are just abstract entities without ANY notion of how they are supposed to be rendered in the end.

The only thing you should do is to fix your stylesheet or program rendering the XML document into whatever output you expect.

Best,

Matěj Cepl

--
http://www.ceplovi.cz/matej/, Jabber: [email protected]
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to