Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Dan Vokt
Default directory for document func incorrect [ reply ]  
2010-07-07 23:21
As far as I know, directory references for import, include and document should be relative to the directory that the transform (.xsl) file is located in. This does not seem to be the case for libxlst-ruby. Running a local test app it Instead it seems to be relative to the RAILS_ROOT.

I have an xml system that I was running using xsltproc which works fine, but I wanted to take advantage of the speed of the libxml and libxslt libraries. However, it is wacked out because the relative directories are all wrong.

Am I doing something wrong, maybe a config setting or something?

This seems a SERIOUS issue for any sort of system using multiple import, include, and document statements.

Thanks!

-Dan