BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


XSLT
Create an N-Column Table from XML node-set
Finding ""the corresponding node"" in a parallel subtree
Get the last item from a delimited list
Limitation to Muenchian method.
Find the number of tokens or words in a string
Randomization of node-sets or node-lists
XPath Analyzer
Finding the Maximum Date
World Cup 2002 fever hits XSLT!!
Using XSLT for DHTML Menus
RSS / RDF Newsfeed Reader
Hierarchical menu from Database + XSL to Html
XSLT syntax hightlighter
XSLT Stylesheet for listing namespaces used in a document
Rotate an SVG shape over it's center
Looping through each letter of the alphabet
An XSL Calculator using the FXSL Functional Programming Library
A Calendar, using the XSelerator's datetime library
Match a phrase to the closest sorted list value with 1 XPath Expression
SVG toolbar


 
 

<< XQuery.NET and XML >>


By Pedro Gil
First Posted 04/01/2002
Times viewed 283

Table with more than one column


Summary Builds a table with more than one column based on the following-sibling

Well I'm hoping that this will help somebody out there, I've seen this question been made several times on the on-line discussion, so one more question trigger the writing of this snippet.

I'm not sure if this is the best solution, or even the only solution.

It will not behave correctlly if you try to add ordering the nodes, since it's based on position and the following-sibling.

The Ncols parameters defines how many columns you want to be outputed.

Pedro Gil
http://www.topxml.com/members/profile.asp?id=i2540
http://www.topxml.com/xselerator/default.asp the best XSLT IDE.

Additional information

Further additional information


Rate this article on a scale of 1 to 10 (0 votes, average 0)

Your vote :  

<< XQuery.NET and XML >>





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML