Re: [OT] problem in using context path in xsl:import

2010-02-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tembug, On 2/21/2010 11:43 PM, tembugs tembugs wrote: > But can we define any variable before the import statement in xsl to define > the absolute path in one place than repeating in every location where > needed? Not with : that element must appear

Re: problem in using context path in xsl:import

2010-02-21 Thread tembugs tembugs
Ok. I am not sure why it did not work. But it works for other web project that does not have # character in the path. On Mon, Feb 22, 2010 at 11:07 AM, Konstantin Kolinko wrote: > 2010/2/22 tembugs tembugs : > > Hi Konstantin, > > > > Great. It works perfectly. > > But can we define any varia

Re: problem in using context path in xsl:import

2010-02-21 Thread Konstantin Kolinko
2010/2/22 tembugs tembugs : > Hi Konstantin, > > Great.  It works perfectly. > But can we define any variable before the import statement in xsl to define > the absolute path in one place than repeating in every location where > needed? Probably no. The XSLT specification will tell you exactly. A

Re: problem in using context path in xsl:import

2010-02-21 Thread tembugs tembugs
Hi Konstantin, Great. It works perfectly. But can we define any variable before the import statement in xsl to define the absolute path in one place than repeating in every location where needed? Thanks, Tembug On Mon, Feb 22, 2010 at 10:04 AM, Konstantin Kolinko wrote: > 2010/2/19 tembugs te

Re: problem in using context path in xsl:import

2010-02-21 Thread Konstantin Kolinko
2010/2/19 tembugs tembugs : > If the # character need to be encoded in xsl, how do I do it?  Can anyone > share a sample on this? # must be encoded as %23 in the path part of an URL See also http://marc.info/?t=12573530792&r=1&w=2 http://issues.apache.org/jira/browse/COCOON-2270 I do not kno

Re: problem in using context path in xsl:import

2010-02-21 Thread tembugs tembugs
Hi Chris, The options provided doesn't seem to work. " java.io.FileNotFoundException:" Thanks, Sangeetha On Fri, Feb 19, 2010 at 9:26 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tembug, > > On 2/19/2010 6:26 AM, tembugs te

Re: problem in using context path in xsl:import

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tembug, On 2/19/2010 6:26 AM, tembugs tembugs wrote: > When I use multi-level context path in tomcat, I have folders created with # > inside webapps like folder1#folder2#folder3. The xsl files inside my web > module tries to import other xsl files in

problem in using context path in xsl:import

2010-02-19 Thread tembugs tembugs
Hi, When I use multi-level context path in tomcat, I have folders created with # inside webapps like folder1#folder2#folder3. The xsl files inside my web module tries to import other xsl files in the same hierarchy like,inside file1.xsl, I do, but this throws an exception "java.net.MalformedUR