xsl-list
[Top] [All Lists]

Attribute and Parameter.. coexist?

2003-08-11 13:31:55
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



<Prev in Thread] Current Thread [Next in Thread>