First XSLT then Grid-Editor

Oxygen general issues.
matze
Posts: 9
Joined: Wed Jan 23, 2008 2:57 pm

First XSLT then Grid-Editor

Post by matze »

I would like to first apply a xslt-transformation on a document an then open it in the grid-editor. This is because somebody not very experienced with xml should edit this file. What I would like to have is:
1) Somebody opens a xml document in oxygen
2) A xslt-transformation is allplied to this document.
3) The document is opened in the grid editor.
4) The document is stored under another file name.

All this should happen automatically. The user should only open the file.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: First XSLT then Grid-Editor

Post by sorin_ristache »

Hello,

That is possible with the following two settings:

- Set the option Open in editor on the Output tab of the dialog in which you edit the transformation scenario associated with the document. Also you have to set the name of the output file of the transformation in the Save as field of the same Output tab of the dialog.

- Select Grid for the option Open XML in Options -> Preferences -- Editor -- Open/Save.

Just open the XML document in oXygen, create the transformation scenario as I specified above and run the scenario with the action Apply Transformation Scenario available on the toolbar Transformation and also on the menu Document -> Transformation. The transformation result will be opened automatically in a new Grid editor panel in the oXygen window.


Regards,
Sorin
Post Reply