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


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

Re: Chunk.xsl problem with <informaltable>; no <p></p>in HTML output


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Kraa de Simon <Simon.de.Kraa@services.fujitsu.com> was heard to say:
| Some of our xml documents are generated automatically and all elements are
| on ONE single line.
|
| When I process the following input using chunk.xsl I do NOT get a "<p></p>"
| between the tables in the output.

The stylesheets are trying to "clean up" the generated HTML. Since
tables aren't allowed inside paragraphs in HTML, they're moved out of
the para. Since the paragraph is now completely empty, it's thrown
away.

If you set html.cleanup=0 you'll get more literal markup.

But the real answer here is probably CSS or something. Using empty
paragraphs for spacing is really relying on browser artifacts.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | Nothing can exceed the vanity of
http://www.oasis-open.org/docbook/ | our existence but the folly of our
Chair, DocBook Technical Committee | pursuits.--Oliver Goldsmith
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+Ef94OyltUcwYWjsRAoFzAJ93qhYp5YwRUd1n53UwJKgEqMn4twCfclUp
FG0UJDLQERLviZzF5g8G3Tg=
=o2TE
-----END PGP SIGNATURE-----


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