[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 Tuesday 29 March 2005 21:10, Paul DuBois wrote: > My "validating editor" is vi. :-) > > It's easy for me to produce <title>xxx</title> rather than > <title> > xxx > </title>. (A simple change to one of my xmlformat rules.) I was just > curious whether this could be done in XSLT without a lot of messing around. > Seems the answer is no. But there is a good point worth exploring in all of this. Why do people try to format XML in blocks such as <para> Some text here. </para> Seems unnecessary to me. 1. It add whitespace that is not required. 2. IMHO, It makes reading the XML and content harder. 3. It is hard to keep the formatting of the XML indent consistant. Why not just use <para>Some text here.</para>? -- Sean Wheller Technical Author sean@inwords.co.za http://www.inwords.co.za Registered Linux User #375355
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]