Subject: [xsl] Best practice for group-adjacent with quasi-null grouping key? From: "David Sewell dsewell@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 26 Apr 2016 18:39:35 -0000 |
<contributor role="author">Joe Jones</contributor> <contributor role="author">Mary Mitchell</contributor> <contributor role="editor">Betty Berkeley</contributor> <contributor role="editor">Peter Parker</contributor>
my first instinct was to use <xsl:for-each-group select="contributor" group-adjacent="@role">
<xsl:for-each-group select="contributor" group-adjacent="if (@role) then string(@role) else 'false'">
-- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400318, Charlottesville, VA 22904-4314 USA Email: dsewell@xxxxxxxxxxxx Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Using of keys with streaming, Martin Honnen martin | Thread | Re: [xsl] Best practice for group-a, Martin Honnen martin |
Re: [xsl] Namespaces, bad idea or w, Flynn, Peter pflynn@ | Date | Re: [xsl] Best practice for group-a, Martin Honnen martin |
Month |