Open HTML as browser in the editor

Having trouble installing Oxygen? Got a bug to report? Post it all here.
iarkin
Posts: 4
Joined: Wed Aug 20, 2014 6:26 am

Open HTML as browser in the editor

Post by iarkin »

Hi,

I am using oXygen to transform XML to HTML using XSLT. If the "Open in Editor" option on the "Edit Scenario --> Output" tab is checked, the HTML opens within the editor, but it opens as a text.

I would prefer to see the HTML as a browser within the editor. Is that possible?
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Open HTML as browser in the editor

Post by adrian »

Hi,

No, I'm afraid that's not possible within the editor tab ("Open in Editor" option) in the current version of Oxygen (v16.0).
However, note that this is possible in the results panel (at the bottom of the editor window). On the "Edit Scenario --> Output" tab, in the "Show in results view as" section check the box for "XHTML".
This Java HTML viewer is somewhat limited, so if you want to properly view the result in a web browser, you can instead enable the option "Open in Browser/System Application" from the same Output tab (you must provide an output file name in the "Save as" field for this to work outside of Oxygen).

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
iarkin
Posts: 4
Joined: Wed Aug 20, 2014 6:26 am

Re: Open HTML as browser in the editor

Post by iarkin »

The "open in browser" and "save file" features are working just fine. My team is interested in opening the HTML as a browser within the editor itself and the XHTML option does not work well because it does not render the CSS at all.

Any information about whether this feature is on the enhancement roadmap for the product in the near future / upcoming versions?
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Open HTML as browser in the editor

Post by adrian »

Hi,

Currently we do not have plans to provide a web browser viewing mode for a document opened in the editor. Note that Oxygen is not really meant for HTML editing (no validation), but HTML publishing.
For XHTML there is already the Author mode which is CSS aware and allows you to view and edit the document in a visual manner.

We do plan to offer better viewing support for the XHTML/HTML panel shown in the results view ("Show in results view as" > XHTML). We are currently investigating JavaFX WebView for this purpose.
I cannot provide the exact Oxygen version in which this will be implemented, but this is meant for the near future.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply