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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Blank Spaces in HTML


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






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