[xsl] Attribute and Parameter.. coexist?

Subject: [xsl] Attribute and Parameter.. coexist?
From: "David Erickson" <derickson@xxxxxxxxxxx>
Date: Mon, 11 Aug 2003 14:31:55 -0600
Here's the situation:
Passing in a parameter
<xsl:param name="urlpath"></xsl:param>

it will contain http://myserver.com/mycontext



my xml document contains:

<IMAGES>

<HEADER>/images/flexlogo300dpi.jpg</HEADER>

The goal is to combine that urlpath parameter infront of what is contained
in my xml document as seen above.

Here is the current code which we have been using, which only inserts the
value in the xml file. suggestions and alternatives welcomed =)

<img style="WIDTH: 200px; HEIGHT: 75px">

<xsl:attribute name="src">

<xsl:value-of select="IMAGES/HEADER"></xsl:value-of>

</xsl:attribute>



Thanks!


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread