Xhtml output customization

Post here questions and problems related to editing and publishing DITA content.
gaurav_maindola
Posts: 11
Joined: Mon May 23, 2022 9:19 am

Xhtml output customization

Post by gaurav_maindola »

Hello everyone!


My query: I want to customize the xhtml output when I am creating that output through the Dita map file.
As, when I am creating the output, it shows me nothing except the content. I want to add proper bookmarks, navigation tabs, TOCs, logos and many other things that appear with the pdf and webhelp output.


Here are the details of the oxygen in my system:
Version: XML Editor 16.1
DITA Open Tool kit version: 1.8.5

Actually, my priority for now is xhtml output only as per the dita map file.
I just wanted to check the possible ways to customize the output specifically for xhtml.
Please let me know if there is any possible way to customize the xhtml output using the dita xml as the source file.

By end result what I want is to have all kinds of menus, navigations, breadcrums, colours, logos, bookmarks etc.
Is there a possible way to do that with my oxygen version or any other version?

Important: please answer only for xhtml output only
Thanks and Regards,
Gaurav
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Xhtml output customization

Post by Radu »

Hi Gaurav,

I already gave you some details about how XHTML output can be customized here:

post66045.html#p66045

You are using a very old Oxygen installation which comes with an old DITA Open Toolkit publishing engine,
Our latest Oxygen 24.1 comes bundled with DITA OT 3.7.

The DITA to XHTML output is the most plain output you get from DITA content, it's plain XHTML without any Javascript functionality.
The Oxygen DITA to WebHelp output probably contains most of the features that a client would want:
https://blog.oxygenxml.com/topics/webhe ... oints.html

For example the Oxygen user's guide is obtained from DITA content published to WebHelp:
https://www.oxygenxml.com/doc/versions/24.1/ug-editor/

You can publish DITA to WebHelp from inside Oxygen for free but if you want to publish from a command line, you would need to pay for a commercial license: https://www.oxygenxml.com/publishing_engine.html

You seem to want a set of precise steps to take plain DITA to XHTML output and produce with enough customization something which has the features of our Oxygen WebHelp output. I'm afraid I do not have a list of steps for you, we have an entire team working to improve and add features to the WebHelp commercial product.

About PDF customizations, we also have a commercial solution allowing for using CSS to style the PDF output. With the help of a free website we provide people can produce a CSS to customize the PDF according to their needs: https://styles.oxygenxml.com/

Maybe you can also ask around on the DITA Users list if you want feedback from more DITA users: https://dita-users.groups.io/g/main

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
gaurav_maindola
Posts: 11
Joined: Mon May 23, 2022 9:19 am

Re: Xhtml output customization

Post by gaurav_maindola »

Hello Radu,

Thanks for the detailed explanation!

One last query: You said you are unaware of any kind of such steps for the requirement that I have asked for. My question is: does such steps/mechanism exist or not?


Thanks and Regards,
Gaurav
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Xhtml output customization

Post by Radu »

Hi Gaurav,

I am not aware if such steps exist or not.
You should try to ask around on the DITA Users List: https://dita-users.groups.io/g/main

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply