Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Relative paths in stylesheet includes and imports
RonaldV
Hi,
does anybody know what options you have when you include a stylesheet in a stylesheet (using xsl:include or xsl:import)?
Can you use a relative path like my-dir/my-file.xsl?
Can you refer to a xsl-file stored in your current workarea, like $WAPATH/my-dir/my-file.xsl?
Find more posts tagged with
Comments
dazzlad
oops, posted something here that didn't make any sense.....
tec_iwov
for livesite we support two formats:
one for referencing from classpath relative to the directory com/interwoven
http://www.interwoven.com/livesite/
so if you have for and import value of
http://www.interwoven.com/livesite/myxsl/utils.xsl
then you need your xsl at com/interwoven/myxsl/utils.xsl
(these can be placed in the livesite customer toolkit)
the other is for referencing from the current work area
http://www.interwoven.com/custom/
[relative path to the work area]
so if you have for and import value of
http://www.interwoven.com/custom/myxsl/utils.xsl
you need to have myxsl/utils.xsl in the current work area
the current being the work area for the site used to render against.
RonaldV
Thanks, that is just what I'm looking for.
Any reason why I could not find this in the livesite docs?
tec_iwov
the docs are being updated to reflect this.