[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Chunk.xsl problem with <informaltable>; no <p></p> inHTML output
Hello, Using docbook-xml-4.2, docbook-xsl-1.52.2\html\chunk.xsl, saxon-6.5.2. 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. Input: (All elements are on the same single line) <?xml version="1.0"?> <!DOCTYPE book SYSTEM "file://hol01sthira/utils/docbook-xml-4.2/docbookx.dtd"> <book><chapter><title>test</title><para><informaltable><tgroup cols="1"><colspec colnum="1" colname="col1" colwidth="*"/><tbody><row><entry colname="col1">X</entry></row></tbody></tgroup></informaltable></para><para> <informaltable><tgroup cols="1"><colspec colnum="1" colname="col1" colwidth="*"/><tbody><row><entry colname="col1">X</entry></row></tbody></tgroup></informaltable></para></chap ter></book> Part of the output: <div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td>X</td></tr></tbody></tab le></div> <div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td>X</td></tr></tbody></tab le></div> The result is that the two tables "stick" together in the output (no "<p></p>"). If I add a carriage return after the </informaltable> element I DO get a "<p></p>" in the output. Input: (The elements are diveded over two lines, carriage return after the </informaltable>) <?xml version="1.0"?> <!DOCTYPE book SYSTEM "file://hol01sthira/utils/docbook-xml-4.2/docbookx.dtd"> <book><chapter><title>test</title><para><informaltable><tgroup cols="1"><colspec colnum="1" colname="col1" colwidth="*"/><tbody><row><entry colname="col1">X</entry></row></tbody></tgroup></informaltable> </para><para><informaltable><tgroup cols="1"><colspec colnum="1" colname="col1" colwidth="*"/><tbody><row><entry colname="col1">X</entry></row></tbody></tgroup></informaltable></para> </chapter> </book> Part of the output: <div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td>X</td></tr></tbody></tab le></div> <p></p> <div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td>X</td></tr></tbody></tab le></div> Is this a problem in the stylesheet? Simon de Kraa Systems Architect Logistic Systems FUJITSU SERVICES Fujitsu Services B.V., Het Kwadrant 1 Postbus 1726, 3600 BS Maarssen, The Netherlands Tel: +31 346 598865 Mob: +31 651 204719 Fax: +31 346 562703 Email: mailto:Simon.de.Kraa@services.fujitsu.com Web: http://nl.services.fujitsu.com Fujitsu Services B.V., Registered in the Netherlands no 30078286 ___________________________________________________________________________ The information in this e-mail (and its attachments) is confidential and intended solely for the addressee(s). If this message is not addressed to you, please be aware that you have no authorisation to read this e-mail, to copy it or to forward it to any person other than the addressee(s). Should you have received this e-mail by mistake, please bring this to the attention of the sender, after which you are kindly requested to destroy the original message and delete any copies held in your system. Fujitsu Services and its affiliated companies cannot be held responsible or liable in any way whatsoever for and/or in connection with any consequences and/or damage resulting from the contents of this e-mail and its proper and complete dispatch and receipt. Fujitsu Services does not guarantee that this e-mail has not been intercepted and amended, nor that it is virus-free. ___________________________________________________________________________
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC