[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] importing/including a stylesheet
Subject: RE: [xsl] importing/including a stylesheet From: "Robert Koberg" <rob@xxxxxxxxxx> Date: Wed, 4 Jun 2003 12:48:03 -0700 |
> -----Original Message----- > From: florian [mailto:csshsh@xxxxxxxxxxxxxxx] > Sent: Wednesday, June 04, 2003 12:39 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Cc: rob@xxxxxxxxxx > > > On Mittwoch, Juni 4, 2003, at 09:16 Uhr, Robert Koberg wrote: > > > Hi, > > > >> -----Original Message----- > >> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl- > >> list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of florian > >> Sent: Wednesday, June 04, 2003 11:02 AM > >> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > >> > >> hi! > >> > >> i would like to include/import a stylesheet with a path given from the > >> directory of the stylesheet file which is doing the import/including.. > >> > >> is there any way to do that? > >> > >> basically im having a java web application which runs inside a > >> servlet container... > >> > >> any hints on how to do that? > > > > By default it will be relative to the file rather than the directory. > > Does > > that help? > > it would... but when i deploy the app in jboss its always relativ to my > jboss directory.. Then there is a bug in your XSL processor (or possibly jboss?). What XSL processor are you using? If you are using Resin and it's processor, there is a known bug that should be fixed in the latest snapshot release (haven't had a chance yet to try it). You could also try to use a custom URIResolver setting the resolution explicitly. Best, -Rob > > if i have > > myApp/WEB-INF/xsl/main.xsl > > and > > myApp/WEB-INF/xsl/foo.xsl > > and import 'foo.xsl' from within main.xsl.. it wouldnt find foo.xsl, > since > it would look for a foo.xsl in the jboss root directory. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] importing/including a sty, florian | Thread | Re: [xsl] importing/including a sty, florian |
Re: [xsl] importing/including a sty, florian | Date | Re: [xsl] merging multiple xml file, G. Ken Holman |
Month |
Keywords