Re: taking screenshots - new section for Documentation Guide (was installation guide)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2004-08-28 at 02:34, Karsten Wade wrote:

> 
> 2. My <screen> tags themselves are not flush left, although the content
> is. 

> My builds show that the following:
> 
>       <screen>
> foo
>       </screen>
> <screen>
> foo
> </screen>
>       <screen>
> foo
>       </screen>
> 
> renders as:
> 
> foo 
> foo
> 	foo
>       
> Obviously the contents of the <screen/> are highly sensitive to
> whitespace issues,

Yes, whitespace is respected within the tags.
Since a dtd is in use, the intertag space is non-existant
to the parser.
 

>  and in fact could perhaps be CDATA containers instead
> to totally make them ignored by the toolchain.  Either way, I don't
> think the <screen> tags need to be flush left, nor the the
> <computeroutput/> container.  I'd like to recommend this for a change in
> the Documentation Guide, and will file a bugzilla with patch if there is
> no technical objection. 

No bug. Just XML :-)
Without a schema, you'd have to tell the processor
something about whitespace treatment, collapse or preserve.

-- 
Regards DaveP.
XSLT&Docbook  FAQ
http://www.dpawson.co.uk/xsl




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux