[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Attribute and Parameter.. coexist?

Subject: Attribute and Parameter.. coexist?
From: "David Erickson" <derickson@xxxxxxxxxxx>
Date: Mon, 11 Aug 2003 14:31:55 -0600
attribute and parameter
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.