Page 1 of 1
Markup for link redirection
Posted: Mon Nov 04, 2013 1:58 pm
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?
Re: Markup for link redirection
Posted: Mon Nov 04, 2013 2:05 pm
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