Markup for link redirection

Post here questions and problems related to editing and publishing DITA content.
burbles
Posts: 37
Joined: Wed Dec 23, 2009 6:13 am

Markup for link redirection

Post by burbles »

I'd like to know if there are standard elements and attributes in DITA 1.2 that will produce the following HTML coding, which is an auto-redirect:

Code: Select all

<meta http-equiv="refresh" content="0; URL=../gui/PDF-pagemaster.svg"/>
Or, can this only be achieved by customizing stylesheets?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Markup for link redirection

Post by sorin_ristache »

Hello,

There are no standard DITA elements or transformation parameters for HTML auto-redirection. You will have to customize the XSLT stylesheets that create the output HTML pages. Depending on your output you will have to customize the stylesheet:
  • for XHTML output:

    [Oxygen-install-dir]\frameworks\dita\DITA-OT\xsl\dita2xhtml.xsl
  • for Webhelp - the desktop version:

    [Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\desktop\dita2webhelp.xsl
  • for Webhelp - the mobile version:

    [Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\mobile\dita2webhelp.xsl

Regards,
Sorin
Post Reply