It's not a secret anymore!
The moose likes XML and Related Technologies and the fly likes Resolve current directory in xsl file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Resolve current directory in xsl file" Watch "Resolve current directory in xsl file" New topic
Author

Resolve current directory in xsl file

Sankar Mitra
Greenhorn

Joined: Oct 24, 2011
Posts: 4

I want to access the java function of a class that resides in a jar which in turn is converted into a dll file. I there any way to get the current directory in xsl file.
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

Probably not. But why would you need to know the current working directory for that?
Sankar Mitra
Greenhorn

Joined: Oct 24, 2011
Posts: 4

Actually the dll file containing the java files and the xsl files resides in the same directory.So I am just thinking that if I can get the current directory in Xsl then it will be easy to access functions from java files.I will ahve to rewrite it as
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

How do you plan to call the DLL functions directly from the XSL?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Resolve current directory in xsl file
 
It's not a secret anymore!