Compiling the documents
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 61
- Joined: Fri Jun 06, 2008 7:09 am
Compiling the documents
Hello
I am using OxygenXML to generate xhtml output. When I transform the document to xhtml, each page is opening in a different window. I want the output in the form of a book. Is it not possible to generate the output in the form of a book? Please help.
Regards
Julie
I am using OxygenXML to generate xhtml output. When I transform the document to xhtml, each page is opening in a different window. I want the output in the form of a book. Is it not possible to generate the output in the form of a book? Please help.
Regards
Julie
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Compiling the documents
Dear Julie,
Unfortunately the DITA OT toolkit integrated in Oxygen generates XHTML only in multi-file format.
But you can use the following trick to achieve this:
First create a DITA-OT "PDF DITA-OT" transformation and execute it for your map.
After running the transformation in your map's directory you should have a folder called "out" which contains both the PDF file and a file called "map_file_name.fo".
You can open the "FO" file in Oxygen and transform it against a XEP FO-to-XHTML XSLT stylesheet which you can download from here: http://dev.kanngard.net/Permalinks/ID_2 ... 55717.html
The output will be a single XHTML file.
Regards,
Radu
Unfortunately the DITA OT toolkit integrated in Oxygen generates XHTML only in multi-file format.
But you can use the following trick to achieve this:
First create a DITA-OT "PDF DITA-OT" transformation and execute it for your map.
After running the transformation in your map's directory you should have a folder called "out" which contains both the PDF file and a file called "map_file_name.fo".
You can open the "FO" file in Oxygen and transform it against a XEP FO-to-XHTML XSLT stylesheet which you can download from here: http://dev.kanngard.net/Permalinks/ID_2 ... 55717.html
The output will be a single XHTML file.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 61
- Joined: Fri Jun 06, 2008 7:09 am
Re: Compiling the documents
Dear Radu
Thanks for the explanation. After generating the output, when I click a topic in the Content page, the page opens in a different window. I want the page to open in the same window. Please let me know how could I do it.
Thanks
Julie
Thanks for the explanation. After generating the output, when I click a topic in the Content page, the page opens in a different window. I want the page to open in the same window. Please let me know how could I do it.
Thanks
Julie
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Compiling the documents
Dear Julie,
For this you have to open the XSLT stylesheet: {OXYGEN_INSTALL_DIR}/frameworks/dita/DITA-OT/xsl/map2htmtoc.xsl in Oxygen and replace the line 38 with .
Then save the file and try a new transformation.
Regards,
Radu
For this you have to open the XSLT stylesheet: {OXYGEN_INSTALL_DIR}/frameworks/dita/DITA-OT/xsl/map2htmtoc.xsl in Oxygen and replace the line 38
Code: Select all
<xsl:param name="contenttarget" select="'contentwin'"/>
Code: Select all
<xsl:param name="contenttarget" select="''"/>
Then save the file and try a new transformation.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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