OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Discard leading/trailing whitespace in <title>elements?


On Wed, 30 Mar 2005, Sean Wheller wrote:

>  Why do people try to
> format XML in blocks such as
> <para>
> Some text here.
> </para>

The simple answer here is because some publishers/editors like to receive 
scripts in which the markup is _always_ physically separate from the text.
Depends on the house-style.  And/or the editor concerned.


> 2. IMHO, It makes reading the XML and content harder.

You can train your mind/eye-scan faculties to read either without 
difficulty.  It's purely a question of habit.
(This is actually true.  Try it sometime.)


> 3. It is hard to keep the formatting of the XML indent consistant.

Some publishers/editors insist on NO indent before text -- particularly 
where markup is kept entirely separate from text.
Again -- depends on the instructions to authors.


> Why not just use <para>Some text here.</para>?

Probably for the same reason that you don't use:
<para>Some text here.</para><para>Some more text here.</para><para>Yet 
more text here.</para><para>Still further text here.</para>

Not all paragraph text is the same length.  A presentation style which 
evolves for long paras looks out of place where the paragraphs are only 
three or four words long; and vice-versa.
But editors like consistency.


The bottom line is: it's anal retentives vs. natural chaotics  :)
-- 
Martin Wheeler   -   StarTEXT / AVALONIX - Glastonbury - BA6 9PH - England
mwheeler@startext.co.uk                http://www.startext.co.uk/mwheeler/
GPG pub key : 01269BEB  6CAD BFFB DB11 653E B1B7 C62B  AC93 0ED8 0126 9BEB
       - Share your knowledge. It's a way of achieving immortality. -


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]