Howto specify a working directory?

Oxygen general issues.
TheMeLLeR
Posts: 2
Joined: Wed Jan 18, 2006 11:38 am

Howto specify a working directory?

Post by TheMeLLeR »

I have multiple xsl-templates that i want to include. But Oxygen complains about file not found... Is it possible to specify a working directory?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

If you are using a relative location that is resolved relative to the system identifier of the stylesheet that contains thse xsl:include instructions.
If you still have problems please provide more details.

Best Regards,
George
TheMeLLeR
Posts: 2
Joined: Wed Jan 18, 2006 11:38 am

Post by TheMeLLeR »

the xsl-template is loaded by a Javaservlet. The root-directory is the servlet but the xsl is in a subdirectory.
The working directory when i load the xsl is different from when i open de xsl with oxygen.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Sorry, I do not understand your exact problem...
You may eventually want to load the stylesheet using the URL that points to its location on the server and thus have the references resolved in the same way.
If you have the problem in your code than it may be possible that you did not set the system id for the stylesheet when you parse it thus the XSLT processor does not know how to resolve relative references and uses the current working directory instead of the stylesheet system identifier.

Best Regards,
George
Post Reply