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

RE:

Subject: RE:
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Thu, 11 Nov 1999 14:16:07 -0000
RE:
Try:

<card id="First Card">
   <xsl:attribute name="title">
       <xsl:value-of select="//doc/title"/>
   </xsl:attribute>
   Some text
</card>


Rgs,

Ben Robb


> -----Original Message-----
> From: David Hemmingsson [mailto:david.hemmingsson@xxxxxxxx]
> Sent: 11 November 1999 13:45
> To: XSL-list
> Subject: 
> 
> 
> Hi!
> I need to do something like this:
> XML:
> 
> <?xml version = "1.0" ?>
> <doc>
> 	<title>The title</title>
> </doc>
> 
> 
> XSL:
> 
> <xsl:stylesheet...>
> 	<xsl:template match="/">
> 	.
> 	.
> 	<card id="First Card" title="[HERE I NEED THE CONTENT OF THE
> <title>-TAG!]">
> 		Some text
> 	</card>
> 	.
> 	.
> 	</xsl:template>
> </xsl:stylesheet>
> -----------------------------
> I'm quite sure that there is a simple solution, but I can't find any
> information of how to put XML-content in a variable and use it in the
> XSL-stylesheet (if now that is the solution).
> Any suggestions?
> 
> /David
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


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


Current Thread
  • RE:
    • Ben Robb - Thu, 11 Nov 1999 14:16:07 -0000 <=

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.