[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: That's a wrap!
On 04.01.2018 19:16, Charles O'Connor coconnor@xxxxxxxxxxxx wrote:
Thanks to you and Christophe. To me it looks as if <xsl:template match="mixed-citation"> <xsl:copy> <xsl:for-each-group select="node()" group-adjacent="boolean(self::string-name | self::etal | self::collab | self::text())"> <xsl:choose> <xsl:when test="current-grouping-key() and current-group()[self::*] "> <person-group> <xsl:apply-templates select="current-group()"/> </person-group> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="current-group()"/> </xsl:otherwise> </xsl:choose> </xsl:for-each-group> </xsl:copy> </xsl:template> might do the job.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|