Page 1 of 1

Open HTML as browser in the editor

Posted: Wed Aug 20, 2014 11:20 pm
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?

Re: Open HTML as browser in the editor

Posted: Thu Aug 21, 2014 3:17 pm
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

Re: Open HTML as browser in the editor

Posted: Thu Aug 21, 2014 4:51 pm
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?

Re: Open HTML as browser in the editor

Posted: Mon Aug 25, 2014 10:12 am
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