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

assign values

Subject: assign values
From: "=?big5?b?qkwgpGyq5A==?=" <minikittygo@xxxxxxxxxxx>
Date: Fri, 01 Feb 2002 14:54:27 +0000
xsl assign value
Hi
Suppose i have to use an xsl value to form a combine key id for the table i am creating: -


xml structure

<A>
 <b>value1</b>
 <c>
    <d>value2</d>
    <e>value3</e>
    <f>value4</f>
 <c>
</A>
...

<xsl:template match="a/c">
ID tag = <xsl:value-of select="a/c/d"/><xsl:value-of select="a/c/e"/><xsl:value-of select="a/c/f"/>
</xsl:template>


the output of this would be:
ID tag=value2value3value4
ID tag=.....

my question is, is there a way that i could assign the value of this id tag to something less 'longwinded' to an unique number giving the following output result instead:

ID tag=2
ID tag=3
ID tag=...

thanks you for help

Regards
Kit


_________________________________________________________________
使用 MSN Messenger,與朋友在線上聊天:http://messenger.microsoft.com/tc。



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



Current Thread
  • assign values
    • =?big5?b?qkwgpGyq5A==?= - Fri, 1 Feb 2002 09:52:41 -0500 (EST) <=

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.