xsl-list
[Top] [All Lists]

RE: [xsl] Grouping using group-starting-with=

2006-09-07 10:23:40
At 2006-09-07 18:13 +0100, Michael Kay wrote:
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.

Your help is much appreciated, as always, Michael.

. . . . . . . . . Ken

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: Vårø, 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(_at_)CraneSoftwrights(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>