XSLT
XSLT Contents
Summary Transforms a list of elements into a N-column table
I was stuggling with this problem recently and although I knew what approach I wanted to take my XSLT skill wasn't polished enough to implement it. Pedro Gil's solution to the same problem here at TopXML provided me with the missing pieces I needed to create this simplification.I don't think it gets any simpler than this.The Ncols parameters defines how many columns you want to output.Max Hodges, MCPPrinciple ConsultantMAXconsultingwww.maxconsulting.us
(inspired by Pedro Gil's Table with more than one columnAlso, credit to Charles White who independently arrived at a very similar solution.)First I show a very simple case, then I show a more complex case where the production rules for the formation of td tags has been externalized into a separate template for reusability.
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