In article <bo8kua$dar$>,
Ravi <> wrote:
% <xsl:variable name="tmp1"><xsl:value-of
% select="concat($prefix,$vid)"/></xsl:variable>
% <xsl:variable name="tmp2"><xsl:value-of
% select="concat($tmp1,'.')"/></xsl:variable>
% <xsl:variable name="tmp3"><xsl:value-of
% select="concat($tmp2,$vname)"/></xsl:variable>
% <xsl:variable name="tmp4"><xsl:value-of
% select="concat($tmp3,$suffix)"/></xsl:variable>
You might be interested to know that concat can more than two
arguments. This could be done as
concat($prefix, $vid, '.', $vname, $suffix)
[...]
% I am wondering if there is someway to find the filename in the current
% directory which starts with profile_joker_5 and create a hyperlink to
Not with pure XSL. Depending on your XSLT processor, you might be
able to create an extension function which sorts it out for you.
My suggestion is to throw out the part of the name that's causing
trouble. i.e., rename the file on the server to profile_joker_5.xml
before you invoke XSLT. If that's not possible, my other suggestion
is to create links to all the possible names for the file, so you
don't have to deal with it in the XSLT file.
--
Patrick TJ McPhee
East York Canada