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

RE: RE: Need to use generate-id() or other method?

Subject: RE: RE: Need to use generate-id() or other method?
From: cknell@xxxxxxxxxx
Date: Fri, 25 Apr 2003 12:23:22 -0500
generate id from string
> -----Original Message-----
> From:     "Kathy Burke" <Kathy_Burke@xxxxxxxxx>
> Subject:  RE:  Need to use generate-id() or other method?
> 
> Not sure what <div id="{$parent-id}{substring($id, 1,
> string-length($id)-1)}"> is doing? Is this similar to Input="button"
> name="$var" for each <item>?
> 

You will have seen my follow-up post by now stating that all that stuff wasn't necessary. Every time I do something like that I am reminded of a quote I once read attributed to Blaise Pascal, the famous 17th Century French mathemetician. He is reported to have opened a letter to a friend once with this apology, "I'm sorry to have written such a long letter. I didn't have time to write a short one."

The stuff with the substring() and string-length() functions just chops off the trailing period from the output of <xsl:number>.

-- 
Charles Knell
cknell@xxxxxxxxxx - email


 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.