Tansform Open docbook to WordML ?
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Mon Oct 15, 2007 11:18 am
- Location: Germany
Tansform Open docbook to WordML ?
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
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
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post 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
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
-
- Posts: 2
- Joined: Sat Jan 05, 2008 8:05 am
- Location: Chicago
Issue with Docbook to WORDML or OOO
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
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
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post 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
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service