link in form-controls

Questions about XML that are not covered by the other forums should go here.
Oleksii
Posts: 40
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

link in form-controls

Post by Oleksii » Fri Jul 19, 2019 6:43 pm

Hi,

I use form-controls. In my .xml I have the following element:

Code: Select all

	<a href="file:///K:/PROJEKTE/DMEDME/workflows/utils-documentation_files/ref_docs/DOXconvX/description/DOXconvX.html"/>
which I style with following CSS:

Code: Select all

a:hover{
    color:blue;
    border:1px dotted silver;
    padding:0;
}

a:before{
    content:url('images/link.png');
    link:attr(href);
}
The link opens the file DOXconvX.html in oXygen, but I want to have it to open in the browser. (The problem is this file is not on the web but on a shared external hard drive. )
Is it possible to change this behavior?

Thanks.
Oleksii

Radu
Posts: 6453
Joined: Fri Jul 09, 2004 5:18 pm

Re: link in form-controls

Post by Radu » Mon Jul 22, 2019 10:07 am

Hi Oleksii,

Basically Oxygen prefers to open references to HTML documents in itself when the document is not placed on a web server.
In the Oxygen Preferences->"File Types" page you could add an extra "*.html" to the binary file patterns list in order to force Oxygen to open any HTML document in a web browser.
But ideally in your case maybe you can start a web browser in your intranet and have the references to the HTML document made with "http" URLs.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply