|
[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?
> -----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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








