|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Increments
Okay. I have checked out all of the FAQ in regards to this question and I cannot seem to find the best way to do this. I looked at using the call-template method for counters and I am unsure whether it will work. I'll let you decide! I have the following XML: <NODE NAME="whatever" ARCHIVENAME="BA"> <NODE NAME="whatever" ARCHIVENAME="BA"> <NODE NAME="whatever" ARCHIVENAME="BA"> <NODE NAME="whatever" ARCHIVENAME="XT"> <NODE NAME="whatever" ARCHIVENAME="XT"> <NODE NAME="whatever" ARCHIVENAME="XT"> <NODE NAME="whatever" ARCHIVENAME="CD"> <NODE NAME="whatever" ARCHIVENAME="CD"> <NODE NAME="whatever" ARCHIVENAME="EE"> <NODE NAME="whatever" ARCHIVENAME="EE"> <NODE NAME="whatever" ARCHIVENAME="EE"> When I iterate through this list using a for-each, each group has is it's own column in a table. Once I hit the 3rd group (i.e. group1=BA group2=XT !!group3=CD!! group4=EE) I need to create a new row so that group4 (EE) would display on the next row. In other words I need a counter that will keep a count of each ArchiveName group (in this case there are 4 groups). How would I do this? Graeme Wyant Programmer/Analyst - Web Development Investors Group Tel: (204)956-8499 e-mail: mailto:graeme.wyant@xxxxxxxxxxxxxxxxxx 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
|






