Hi all,
I am trying to make all of my xsl-t's as portable as possible for the
project I am creating, but have come up against a problem I can't find an
answer for in the books. I want to pass the project (and base uri name) into
all references as a parameter, but when the page is transformed into html
the href still has $project and not the project name. (See below) I tried
${project} but this just left the $ in by itself.
Any pointers would be most appreciated.
Cheers
Simon
<xsl:variable name="project" select="/root/session/projectName" />
.......
<xsl:param name="project" />
<head>
<!-- Title for each page -->
<title><xsl:value-of select="$pageTitle" /></title>
<!-- link for the stylesheet that will format all of our pages
in the
same manner -->
<link rel="stylesheet" type="text/css"
href="/$project/css/styles.css" />
Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.
Tel: (+49)/7247 82-4042
E-mail : kelly(_at_)ipe(_dot_)fzk(_dot_)de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list