Subject: Re: [xsl] mixed content grouping by whitespace From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 13 Apr 2010 14:08:16 -0400 |
<!-- david C-s ideal world The above woul dnot be an error and
group-starting-with would take an expression not a match, and the group would start whenever the expression was true.
so to do nodes you would have to do self::h2 as in the group-by example
(or with exists() for extra clarity rather than relying on implict boolean conversion)
<grouping-nodes-without-reordering> <xsl:for-each-group select="$x/*" group-starting-with="exists(self::h2)"> <group> <xsl:copy-of select="current-group()"/> </group> </xsl:for-each-group> </grouping-nodes-without-reordering>
-->
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] mixed content grouping by, David Carlisle | Thread | Re: [xsl] mixed content grouping by, David Carlisle |
Re: [xsl] The output of evaluating , Dimitre Novatchev | Date | Re: [xsl] mixed content grouping by, David Carlisle |
Month |