This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] Re: whitespace at the beginning and the end of element content


/ Wolfgang Jeltsch <wolfgang@jeltsch.net> was heard to say:
[...]
| Do you really mean that you cannot use indentation in XML code??? If
| this is true then it is not possible to write clear XML code, and I
| wonder how people should be able to edit XML documents with a text
| editor.

Without using tools that introduce spurious indentation.

In blocks, like paragraphs, multiple spaces between words are unlikely
to matter (HTML and FO collapse them). If you want to use leading and
trailing spaces, make sure you setup your down-stream process to
collapse them.

Puttin multiple spaces in an inline is probably a bad idea.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Quotation, n: The act of repeating
http://www.oasis-open.org/docbook/ | erroneously the words of
Chair, DocBook Technical Committee | another.--Ambrose Bierce

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]