[Hypercontent-users] More baseurl trouble
Brought to you by:
alexvigdor
From: Mike B <mbe...@gm...> - 2005-09-09 15:50:28
|
Hi all, I'm having trouble using $baseurl in XSLT again. Here's the problem: At the root level, '/', $baseurl works fine and evaluates as './' in both the HTML and in XSLT functions such as document(). One level below that, '/council', $baseurl transforms fine in the HTML but not in XSLT functions. For example, when I use the document function like this: document(concat($baseurl,'/design/dept.xml')) it fails saying that it 'could not open /usr/share/design/dept.xml'. I can't figure out why $baseurl is evaluating to '/usr/share' instead of '../' like it does at the root level. Any suggestions would be greatly appreciated. Thanks, Mike |