non breaking spaces

Subject: non breaking spaces
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Mon, 24 Aug 1998 15:50:38 +0100
Is it possible to create a source SGML document marked up in such a way 
as to 'keep together' two words in the output? They are within the same
element.

[Or do same in the stylesheet]?

Case in point. 
We have a number of addresses, hundreds, sourced from a database,
which 'just happen' to overflow the line end between the last two words,
which are the post code (sorry, zip code).

name adsl1 adsl2 adsl3 town county country postcode, e.g.  PE2 6SJ.
They are wanted laid out on a single line as shown.

The line splits (far too often to make it an easy manual correction in the 
print form) between the 2 and the 6.

Can I either
a) insert an entity or similar in the database source
b) Do anything in the stylesheet,

to stop this happening?

TIA, DaveP



timeo gaecos dona ferentes


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • non breaking spaces
    • Pawson, David - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA18239Mon, 24 Aug 1998 11:00:27 -0400 (EDT) <=
      • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA24809Mon, 24 Aug 1998 12:15:06 -0400 (EDT)
        • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id VAA29834Mon, 24 Aug 1998 21:51:57 -0400 (EDT)
      • Paul Prescod - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA17060Mon, 24 Aug 1998 17:16:36 -0400 (EDT)