Download the help page

Questions about XML that are not covered by the other forums should go here.
julie
Posts: 61
Joined: Fri Jun 06, 2008 7:09 am

Download the help page

Post by julie »

Hi

I have to provide a link using DITA, which allows the user to download a specific help page even if the application is throwing an error. Is this possible using DITA?

Regards
Julie
Radu
Posts: 9018
Joined: Fri Jul 09, 2004 5:18 pm

Re: Download the help page

Post by Radu »

Hi Julie,

I do not understand your question.
What application are you referring to? Are you generating XHTML output?
Do you want some kind of a fallback page so that when a link is broken and you click on it it directs you to the errors page?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
julie
Posts: 61
Joined: Fri Jun 06, 2008 7:09 am

Re: Download the help page

Post by julie »

Hi

I am generating XHTML output, which is integrated with the web application. Now, if any error occurs in the application, to clear it (for example, to run a batch file to clear the cookies), I have to provide a link in the help page which will directly download the batch file. Is this possible using DITA?

Regards
Julie
Radu
Posts: 9018
Joined: Fri Jul 09, 2004 5:18 pm

Re: Download the help page

Post by Radu »

Hi,

In DITA you can link to various non-DITA topics using xrefs with the external scope attribute set to it like in the example:

Code: Select all

<xref href="http://www.google.com/" format="html" scope="external"/>
DITA generates static XHTML pages so if you want to dynamically alter the page content (show a link or not) depending on some external condition you will probably have to inject some Javascript in them.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
julie
Posts: 61
Joined: Fri Jun 06, 2008 7:09 am

Re: Download the help page

Post by julie »

Hi

Thanks for the reply. A link to an external file only opens that file and the user has to download the file using that external page, right. I want to know whether we can provide that downloadable link in the help page itself and can download the file directly from web without going to the external application?

Regards
Julie
Post Reply