Re: [xsl] Variables

Subject: Re: [xsl] Variables
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Mon, 26 Oct 2009 12:48:20 +0100
David Galligani wrote:

<webenmr>
<calculation>
<webinfo workingdir="x_10_2009" />

 <output name="xplor">
  <iteration number="1">
   <pdb_info directory="./input_9/"
filename="ite_1_d_input_9_pdb_sa1_1.pdb">

<xsl:for-each select="pdb_info">
<tr>
<th>File</th>
<td><a href="file_pdb/">
<xsl:value-of select="@filename"/>

I want to concatenate the "workingdir" and "filename" values in an hyperlink , something like <a href='workingdir/filename'>File</a>
but atm nothing seems to work .

Does
<a href="{/webenmr/calculation/webinfo/@workingdir}/{@filename}">
<xsl:value-of select="@filename}"/>
</a>


give you what you want?

--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread