Page 1 of 1

First XSLT then Grid-Editor

Posted: Tue Jan 29, 2008 11:49 pm
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.

Re: First XSLT then Grid-Editor

Posted: Wed Jan 30, 2008 11:36 am
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