XSLT
XSLT Contents
Summary This XSL code is a simple example that allows you to group a list of nodes by first letter (or any letter for that matter). Useful for breaking up long lists by adding an alphabet to the top with links to each letter.
Simply add this <xsl:for-each> loop to you code and change the select attribute to group your nodes by their first letter. This will create a list with an anchor and group name between each letter of the alphabet. Below is what this will look like:
3Com Corporation3M Company
Back to Top
A.K. Steel Holding CorpA.M.P. IncA.O. Smith CorpA.O.N. Corp
Partners
Dream.In.Code dotNet Slackers dotNet Spider Your HTML Source VisualBuilder.com DevGuru Planet Source Code ZVON.ORG Web Design ASPAlliance XML Pitstop Scripts
The Spot 4 SAP Bitshop Web Hosting