When I add this code to my stylesheet, I get an exception stating "Can't find bundle for base name MyResources, locale en_US"
I tried adding the file (MyResources.properties) to the "bin" directory. I tried adding the dir it is in to the CLASSPATH system environment variable. I also tried adding to the Xalan-J specific classpath under tool/options/External XSLT.
> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:listmanager@edn.exln.com]
> Sent: Wednesday, October 01, 2003 9:39 AM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: How to use Resource Bundles with Xalan-J
>
>
> From: "Brian Hughes"
>
> Ivan,
>
> Thanks for the help. I did set the classpath you mentioned.
> In addition to this, I placed the resource file in all of the
> locations listed.
>
> Here is the info on Studio:
> Version 4.6 Build 103o
>
> This is the value of the classpath
> ${classpath};C:\Program Files\eXcelon Corp\Stylus
> Studio\examples\javaExtension;D:;D:\
>
> I tried both ; and , as the delimiter.
>
> I double checked and I have "Use Xalan-J" checked.
>
>
>
> To reply: mailto:stylus-studio-tech.7045@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>
Subject:RE: How to use Resource Bundles with Xalan-J Author:Brian Hughes Date:01 Oct 2003 10:15 PM
I got 4.6 103v. Still getting the error. Can you provide an example? Am I missing a step?
I even tried placing the properties file in the same dir as the javaExtention example. Since the example worked, I know I was at least setting a classpath properly.
I am down loading a trial version of 5.0 to see if it solves the problem.
I also attached an example resourcebundle.xsl to show you how to use it
Hope this helps
Ivan
> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:listmanager@edn.exln.com]
> Sent: Thursday, October 02, 2003 2:25 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: RE: How to use Resource Bundles with Xalan-J
>
>
> From: "Brian Hughes"
>
> 5.0 has the same problem.
>
> I also tried a resource file used in production. Just in case
> the file was corrupted and some how was causing the issue.
>
>
>
> To reply: mailto:stylus-studio-tech.7048@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>