Posted: Fri Mar 20, 2015 2:33 am Post subject: How do i refer to files inside a bar file
Newbie
Joined: 18 Mar 2015 Posts: 4
I am trying to set the style sheet name dynamically using the localenvironment tree.
All the stylesheets are inside a folder called "stylesheets" and compute node using sql i am setting stylesheet name.
I tried the following but getting error
Code:
SET OutputLocalEnvironment.XSL.StyleSheetName='./stylesheets/BookStoreTrans.xsl';
Posted: Fri Mar 20, 2015 5:06 am Post subject: Re: How do i refer to files inside a bar file
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
sridharratna wrote:
Can any one let me know how to refer the xsl from stylesheets folder in bar file.
You can't - they're not in the bar file. The bar file is just a container the deploy process uses. The sheets will be elsewhere: see here and here. What you've posted indicates that you think the sheets are deployed ("the bar file") but the fact they work when you quote an absolute path that doesn't seem to have a lot to do with the broker indicates they're not.
Pick a method, stick with that. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum