Next in thread → Next in month →

Re: [docbook] Blank Spaces in HTML

From
Bob Stayton <>
Date
2003-07-11T20:06:54+00:00
ID
002001c347ea$4798ee30$6801a8c0@slimbob
Thread
Re: [docbook] Blank Spaces in HTML
You could also insert a <literallayout> element with an
arbitrary number of blank lines.  They will be preserved
in the output as an empty <pre>.

Bob Stayton
Sagehill Enterprises



----- Original Message -----
From: <>
To: <>
Sent: Thursday, July 10, 2003 2:49 PM
Subject: Re: [docbook] Blank Spaces in HTML


>
>
>
>
> I'm converting my XML into HTML Help. But on certain topics, I want extra
> space between certain lines. But from what you're saying, it sounds like
if
> I insert <para>&nbsp</para> into my xml document, that that will do the
> trick. Can it be that simple?
>
>
>
>
>                       joseph.a.gilvary@
>                       census.gov               To:

>                                                cc:
>                       07/10/2003 03:44         Subject:  Re: [docbook]
Blank Spaces in HTML
>                       PM
>
>
>
>
>
>
> You know how in HTML you can use <p>&nbsp</p> to add a space between lines
> of text? Is there any way to do this in XML?
>
> Thanks.
>
> JB
>
> JB,
>
> In XML, there really isn't a "blank line" because XML by itself is usually
> not
> a presentation format. As it's used in DocBook, it's content, not
> presentation.
>
> With that disclaimer out of the way, if you're generating XSL-FO to create
> a PDF,
> you can insert a line break with the Unicode &#xD;
>
> If you're generating HTML you can insert the very text you cited for a
> blank line.
>
> What exactly are you trying to do with the XML that makes you want a blank
> line? Knowing that might make it easier to help.
>
>  Joe
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
Next in thread → Next in month →