DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Custom webhelp XSL in XMetaL 6.0

  • Kris

    Custom webhelp XSL in XMetaL 6.0

    Participants 1
    Replies 2
    Last Activity 10 years, 7 months ago

    Hi,

    Is there any way to use a custom.xsl file for generating webhelp output? Just like there's a customization file for PDF output in the DITA_OTdemoxmfoCustomizationfoxsl folder.

    I find it really hard to mark all the changes I've made in my dita2htmlImpl.xsl file so I'm wondering if there's a separate customization file.

    Thanks,
    Kris

    Reply

    Derek Read

    Reply to: Custom webhelp XSL in XMetaL 6.0

    The WebHelp plug-in relies on the DITA OT HTML output (transtype: XHTML) to generate the HTML files for each topic, so anything at that level would be difficult to separate (as with any other of the HTML-based outputs: Eclipse, CHM, etc).

    However, the WebHelp plug-in is located here if you want to try to make changes to it: demowebhelp

    The stuff that lives there primarily affects how the framework surrounding each HTML topic is built (TOC, search, etc).

    Reply

    gcrews

    Reply to: Custom webhelp XSL in XMetaL 6.0

    All my dita2htmlImpl.xsl modifications are in a separate xsl file in a plugin I made. The plugin overrides the 6 or so templates the access the original template.  I try and keep all my toolkit modification in plugins but sometimes it’s not always possible. For example, modifying the single html output template or PDF customizations.

    I think when we were testing the WebHelp all my xhtml output customizations came across fine. Ultimately though, we ended up using chm2web since the WebHelp didn’t quite cut it for us. We have a mixture of html and DITA in our DITA maps we needed the html indexed as well. I looked into modifying the WebHelp jar that generates the indexes but it wasn’t worth it.

    Sometimes I think it might be easier just to modify everything directly. There are some pretty powerful programs to compare files and folders that make seeing the changes very easy. Comparing completely new files though, with a bunch of copied and pasted templates and stuff is a lot harder.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support