Page 1 of 1
Open transformation result in oXygen?
Posted: Fri Jun 16, 2006 11:44 am
by BudReiniger
Hi there,
when configuring a transformation scenario I can choose to save the resulting file to disk or open it in a browser. However I could not find a way to directly open the result in oXygen. I am aware that the result output is shown in a panel at the bottom screen, but that's not quite it ...
I already searched the board but could not find anything.
thanks in advance
Patrick
Re: Open transformation result in oXygen?
Posted: Mon Jun 19, 2006 9:45 am
by sorin_ristache
Hello,
BudReiniger wrote:I can choose to save the resulting file to disk or open it in a browser.
The two options can be selected at the same time (saving the result to disk and opening it in a browser). The transformation result may be previewed in <oXygen/> in the bottom panel and rendered as XHTML, XML or SVG. The XML view applies the same coloring scheme as the editor panel and the SVG view renders the graphic described by the SVG transformation result. If an XHTML result is not rendered in the XHTML view exactly as in a browser like Firefox or Internet Explorer you should specify in the transformation scenario to open the result in a browser.
Regards,
Sorin
Posted: Mon Jun 19, 2006 12:28 pm
by BudReiniger
well thanks for the answer, but I'm afraid I could not make myself clear enough. I do a transformation from XML to XML (not XHTML or HTML) and thus don't want to open the result in a browser. Instead I'd like to see the result in a oXygen editor panel where I can perform xPath searches, edit the file, ... which is not possible in the bottom panel.
I hope I got it this time ;-)
Cheers
Patrick
Posted: Mon Jun 19, 2006 12:39 pm
by sorin_ristache
Hello,
The transformation scenario does not provide a special setting for this. Just open the result XML file as a new XML editor after you run the transformation for the first time, from menu File -> Open or by dragging the result file from Windows Explorer / Mac OS Finder into the <oXygen/> window. When you switch to the source XML or XSLT file of the transformation, repeat the transformation and switch back to the result file, <oXygen/> will warn you after each repetition of the transformation that the content of the result file has changed on disk and will ask you to confirm refreshing it from disk. Switching between the two files (source and result of transformation) is very simple: press Ctrl + Space / Ctrl + Shift + Space or right-click on the title bar of any open editor to see a list of all editors and switch to another one.
Regards,
Sorin
Posted: Mon Jun 19, 2006 7:07 pm
by BudReiniger
Hi!
At least I could myself clear this time ;-) The idea behind my question was if I could somehow avoid this intermediate step of taskswitching to the explorer or use file/open.
Thanks anyway!
Patrick
Posted: Tue Jun 20, 2006 9:33 am
by sorin_ristache
Hello,
BudReiniger wrote:if I could somehow avoid this intermediate step of taskswitching to the explorer
Switching to the browser window should not be necessary as the browser should grab the focus and come in front of the <oXygen/> window. However you still need to switch from the browser window to <oXygen/> but if you want high-quality (X)HTML rendering with the target application of the (X)HTML result of the transformation you cannot avoid this switch. If the target application is not the browser you can specify the path to the application executable in Options -> Preferences -> Global -> Default Internet browser.
Regards,
Sorin
Posted: Tue Jun 20, 2006 10:57 am
by BudReiniger
Hello Sorin,
thanks for the tip! By changing the default browser to be oXygen instead of Opera, I get exactly what I wanted.
As a feature request: Maybe you want to consider to add an option "Open result in oXygen" in the transformation scenarios. That way users will still be able to use their browser for XHTML viewing.
Thanks for all
Patrick
Posted: Tue Jun 20, 2006 11:16 am
by sorin_ristache
Thank you for the feature request. We will add a checkbox in the Edit scenario dialog.
Regards,
Sorin