Page 1 of 1
Tansform Open docbook to WordML ?
Posted: Mon Oct 15, 2007 12:03 pm
by martinsig
Hello,
I try to transform a docbook document to wordml. I define as the xsl in the transformationscenario the docbook.xsl from frameworks\docbook\xsl\wordml folder in oXygen.
I do not really unterstand what the template parameter is for?
I defined wordml.template the template file out of the wordml folder.
Is this right? OXygen say the transformation successful but I can't open the file in word?
Could someone describe how to transform from docbook to word?
Thank you a lot of.
Martin
Posted: Fri Oct 19, 2007 11:11 am
by sorin_ristache
Hello,
The
wordml.template parameter specifies a template of WordML document used as model for generating the output file of the transformation. When you select the parameter
wordml.template in the
Configure parameters dialog opened from the scenario edit dialog you can read about this parameter: "The wordml.template parameter specifies a WordML document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored." You can use as template the file template.xml located in the same folder with the docbook.xsl stylesheet. What is the version of MS Word that you use to open the result of the transformation? If the template file is a valid WordML document (that is MS Word can display the contents without problems, the template file that I specified contains the text "This document left intentionally blank") and the source document is a valid DocBook one but the transformation result is not a WordML document please
send us the source document and the result one.
Regards,
Sorin
Issue with Docbook to WORDML or OOO
Posted: Sat Jan 05, 2008 9:18 am
by rashwell
I am still having the hardest time even getting just a standard docbook to transform to WordML or OOO since 9.x
A) Create a Docbook 5 article
B) Create a new Transform for WordML pointing to roundtrip/db2wordml.xsl
C) Add Parameter point to roundtrip/template.xml
I can get the transform to execute (only with Xalan for the above style sheet), but the transformed output won't open with word 2003 xp, or Openoffice, or Word 2004 Mac, though I think the Word 2004 might not be able to handle WordML the other too should.
Am I doing something wrong, or is there something wrong with the roundtrip XSL?
Regards,
Richard
Posted: Mon Jan 07, 2008 3:22 pm
by sorin_ristache
Hello,
I think the roundtrip XSL does not generate a correct output WordML document for your input DocBook document. That is a DocBook XSL issue which should be reported to
the docbook-apps mailing list.
Regards,
Sorin