just installed 6.2 - problem reading my stylesheet

Having trouble installing Oxygen? Got a bug to report? Post it all here.
carvin
Posts: 2
Joined: Tue Oct 04, 2005 5:28 pm

just installed 6.2 - problem reading my stylesheet

Post by carvin »

I had 6.1 installed, uninstalled it and installed 6.2. I have a stylesheet, pointed the transformation scenario to it, then processed the doc, and get this error:

Code: Select all


SystemID: C:\Program Files\Oxygen 6.2\frameworks\docbook\xsl\fo\myStyleSheet.xsl

Location: 5:0

Description: E Failure reading file:/C:/Program%20Files/Oxygen%206.2/frameworks/docbook/xsl/fo/frameworks\docbook\xsl\fo\docbook.xsl
If I process without pointing to my stylesheet it works, but of course I need it to use my stylesheet. I am using fo processor and saving to pdf.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Is myStyleSheet.xsl a valid XSLT stylesheet ? I think it is not valid. You can check that with the Validate action (Ctrl + Shift + V).

Regards,
Sorin
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

From the error message it looks like you have an xsl:import at line 5 in your myStyleSheet.xsl that is located in the C:\Program Files\Oxygen 6.2\frameworks\docbook\xsl\fo\ folder like below:

<xsl:import href="frameworks\docbook\xsl\fo\docbook.xsl"/>

The solution will be either to change the href value to specify only docbook.xsl or to move the myStyleSheet.xsl in the C:\Program Files\Oxygen 6.2\ folder so that the docbook.xsl is correcctly referred.

Best Regards,
George
carvin
Posts: 2
Joined: Tue Oct 04, 2005 5:28 pm

Post by carvin »

Thanks George, works fine now.
Post Reply