XSLT - Trailing values
-
I have a set i want to enumerate through in an XSLT, of say, 3-4 values, and i'd like to comma seperate them except for the final one. i.e. i'd like new string[] {"John", "Ben", "Suzy"}; to be generated in the xslt into: "John, Ben, Suzy" Without the trailing comma after suzy, but i have no idea how to do this. Could anyone help? Cheers Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
I have a set i want to enumerate through in an XSLT, of say, 3-4 values, and i'd like to comma seperate them except for the final one. i.e. i'd like new string[] {"John", "Ben", "Suzy"}; to be generated in the xslt into: "John, Ben, Suzy" Without the trailing comma after suzy, but i have no idea how to do this. Could anyone help? Cheers Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
Fantastic, Cheers. Forgive me, i'm an Xslt noob using copy and paste :) T
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
Fantastic, Cheers. Forgive me, i'm an Xslt noob using copy and paste :) T
------------------------------- Carrier Bags - 21st Century Tumbleweed.
Buy a book. (Dang that sounds nastier than I want, I really mean it as a friendly suggestion.) When I started learning XSL I found my old XML Bible (circa 2001) was out of date, so I bought a new book; XSLT 1.0, O'Reilly and it really helped. And also http://www.w3schools.com/xsl/default.asp[^]
-
Buy a book. (Dang that sounds nastier than I want, I really mean it as a friendly suggestion.) When I started learning XSL I found my old XML Bible (circa 2001) was out of date, so I bought a new book; XSLT 1.0, O'Reilly and it really helped. And also http://www.w3schools.com/xsl/default.asp[^]
I find it easy enough to grasp, and i can figure it out in time. I just hate the whole process of doing tutorials and stuff that i already know just to get to those small gems of information that i actualy need to make it work. ;)
------------------------------- Carrier Bags - 21st Century Tumbleweed.