Subject: Re: [xsl] grouping issue (part 2) From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 22 Apr 2010 23:19:11 +0100 |
I am having group-adjacent problems. Here is a snippet of starting document:
I am seeking this:
<narrative name="1A"> <text> <para>Directions: Read the selection....</para> <para><b>Jason and the Golden Fleece</b></para> <para><i>....</i></para> <table> <!--lots of rows and cells--> </table> </text> </narrative>
just xsl:template match="narrative"> <xsl:copy> <xsl:copy-of seelct="@* <text> <xsl:copy-of select="*"/> </text> </xsl:copy>
group-adjacent="exists(self::table|self::para)"> if you want tables and paras in one group and everything else in the other
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] grouping issue (part 2), Terry Ofner | Thread | [xsl] conditional based html format, Ramesh Kumar |
[xsl] grouping issue (part 2), Terry Ofner | Date | [xsl] Re: Writing xslt from DSML, vinu shankar |
Month |