Subject: RE: [xsl] Detecting a break in data From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Thu, 20 Jun 2002 23:58:23 +0100 |
> I am new to XML and XSL (but old to more conventional > programming), and am having trouble trying to find a way to > compare the value of a field in one record with the same > field in the previous record (sorry - I suppose that should > be node). Basically, I want to print all the records with a > common category in one block, then print some kind of > separator, followed by all the records of the next block What you are describing is the problem known as "grouping". Look up grouping in your favorite XSLT textbook, or at Jeni Tennison's site www.jenitennison.com/xslt/grouping Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Detecting a break in data, Smith, Graham | Thread | RE: [xsl] Detecting a break in data, TSchutzerWeissmann |
RE: [xsl] Urgent-how to select node, Michael Kay | Date | RE: [xsl] XSLT 2.0 format-number() , Michael Kay |
Month |