Page 1 of 1

epub stylesheet

Posted: Wed Jun 13, 2012 4:33 pm
by TMT
How should I edit the oxygen xsl stylesheet to create an epub using the TEI trasformation?
I want edit the stylesheet so I can have a different epub in output.
I hope I explained well, thank you in advance for the help.

Re: epub stylesheet

Posted: Wed Jun 13, 2012 6:39 pm
by Costin
Hello,

oXygen already has by default support for epub transformation for TEI P5 documents.

For that, you should use the Configure Transformation Scenarion button on the toolbar or go in oXygen menu to Document > Transformation > Configure Transformation Scenario and choose the TEI P5 EPUB transformation.

Let us know if you need further information.

Regards,
Costin

Re: epub stylesheet

Posted: Fri Jun 15, 2012 8:39 pm
by TMT
Thank you!
I have another problem.
I duplicated the file TEI P5 EPUB transformation so I could work on it, but later, when I opened oxygen, the original file disappeared from the options list, and the file that I duplicated doesn't work, even if I don't modified it yet.
May I ask you for some help? Thank you in advance, I can't find any guide or information about how to resolve the question.

Re: epub stylesheet

Posted: Fri Jun 15, 2012 10:44 pm
by Costin
Hello,

Could you please check what is the Scenario Type selected in the "Configure Transformation Scenario" dialog ? The TEI P5 EPUB is a complex transformation (an ANT transformation more exactly). Therefore, the duplicate of the transformation that you created previously, already exists as an ANT transformation and that's why you can not create another transformation with the same name (because I guess that's what you are trying to do). You can reach the previously created transformation duplicate by selecting "ANT transformation" or "All" in the "Scenario Type" field in the "Configure Transformation Scenario" dialog.
By default, the "XML transformation with XSLT" scenario type is selected.

Also, if you are trying to open a different type of document in oXygen (not a TEI file) in the "Configure Transformation Scenario" dialog oXygen will present the appropriate scenarios for the respective file. So that could be another cause as for not seeing the duplicate of the EPUB transformation scenario.

Regards,
Costin