OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Linking to an HTML file

Hi Gabriela,

I don't know the specific software you're using (i.e., Python Notebook and QtAssistant). However, if the software handles HTML like a browser, the xlink:href attribute can contain a variety of things in addition to a web URL. For example, you can use a relative path. For example, if the file is in a subf wouldolder called myfiles, you could use <link xlink:href="myfiles/myfile.html">Link Text</link>.

This page shows the syntax for the href attribute in HTML, which is what xlink:href will be converted to when you generate html from DocBook:


I would suggest trying out various possibilities and see what happens. DocBook will pass through pretty much anything in that attribute, so you have a fair amount of latitude to experiment.

I hope that helps.
XML Press
XML for Technical Communicators

On Jul 10, 2015, at 9:03, Gabriela Simonka <gabriela@inrosoftware.com> wrote:

> Thanks Dick,
> I think I must add some additional information. The HTML file I want to link to is in another folder on my file system. It is a Python Notebook document that I exported to HTML format. It does not have a URL. It will be included in our distribution package. I just need to know if it is possible to link to it using a relative path. I can't seem to find anything that would help me.
> I compile XML to HTML files to then generate QtAssistant Help collection files for our software help system. I was wondering how to refer to the HTML file so that it would open in a browser.
> Regards,
> Gabriela
> -- 
> Gabriela Simonka
> Technical Writer
> <inro-email-logo.gif>
> T +1 514-369-2023
> F +1 514-369-2026
> www.inrosoftware.com
> Subscribe to INRO announcements  
> DISCLAIMER: This message, including attachments, may contain confidential information for the sole use of the intended recipient(s). Any unauthorized use, disclosure, viewing, copying, alteration, or distribution of any information in this message is prohibited. If you have received this message in error please notify the sender immediately.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]