Subject: RE: [xsl] Grouping using group-starting-with= From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 07 Sep 2006 13:23:18 -0400 |
The value of group-starting-with is a pattern that must match a node in the population.
Ah, yes ... of course ... I was thinking of a selecting address not a matching address.
Since the population consists of Item elements, none of them match the pattern RepresentationTerm[.='Code']. Use
group-starting-with="Item[RepresentationTerm='Code']"
A bit of a gotcha - only this morning I found someone doing select="para" group-by="para/title". Oh for a context-free language!
Michael Kay http://www.saxonica.com/
-- UBL/XML/XSLT/XSL-FO training: Verx, Denmark 2006-10-02/06,11-20/24 UBL International 2006 2006-11-13/17 http://www.ublconference.com World-wide corporate, govt. & user group UBL, XSL, & XML training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Grouping using group-star, Michael Kay | Thread | [xsl] Recursive template, pattern m, Steve |
Re: [xsl] blank page formatting, G. Ken Holman | Date | [xsl] xsl template priority / xsl t, Ralph Rauscher |
Month |