Howto specify a working directory?

<oXygen/> general issues.
TheMeLLeR
Posts: 2

Howto specify a working directory?

Wed Jan 18, 2006 11:41 am

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: 2100

Wed Jan 18, 2006 1:09 pm

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

Wed Jan 18, 2006 1:25 pm

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: 2100

Wed Jan 18, 2006 1:37 pm

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

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest