To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=51180
------- Additional comments from [EMAIL PROTECTED] Fri Jun 24 22:20:42 -0700 2005 ------- I think this is missing the point of the bug report. The bug is that the first paragraph of the generated document does not have the right paragraphy style. The generated .sxw XML specifies the first paragraph's style to be Document Title, but all the paragraph styles appear as default. It is not a docbook.xsl issue, but an OpenOffice xml import issue. To give further evidence of this, enclosed is a .zip file containing a MyDocbook.jar filter set (notice that the output OO->XML filter does not and is not designed to work since it is a copy of the sxw docbook based one) and the same sample test_dbk.xml. To show the problem, complete the following: 1. Install the mydocbook.jar xml filter package 2. type soffice test_dbk.xml - notice that the mydocbook xml filter is not registered (another bug, probably requiring its own bug report) 3. choose docbook, just to get the thing to open 4. Tools/XML Filter Settings 5. Choose MyDocbook 6. Press Text XSLTs... 7. select Import/Display Source 8. Import/Browse to test_dbk.xml 9. Select the displayed text 10. Open a text editor somewhere and paste into a new file 11. Save new file as content.xml 12. unzip the referenced .ott template into a temporary directory 13. copy the saved content.xml over the content.xml in the temporary directory 14. edit META-INF/manifest.xml and remove -template from the vnd.oasis.opendocument.text-template attribute value 15. zip up the temporary directory as test_dbk.odt 16. open test_dbk.odt in soffice 17. Notice that the document opens fine (I hope ;)) This shows that the XSL is generating correct XML for import into OpenOffice and therefore that the issue is not with the import filter but with the OpenOffice importing of the XML. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]