Subject: Re: [xsl] Problem with Positional Grouping from MSXML From: Yves Forkl <Y.Forkl@xxxxxx> Date: Fri, 02 Feb 2007 16:50:29 +0100 |
If my xml fragment contained a table element how could that be handled as
it isn't in the w:p group:- it's on the same level as w:p
<xsl:template match="ns0:Body"> <Body> <xsl:for-each-group select="w:p|w:tbl" group-starting-with="w:p[my:p-style(.) eq 'BodyHeading']"> <Section> <xsl:apply-templates select="current-group()"/> </Section> </xsl:for-each-group> </Body> </xsl:template>
<xsl:template match="w:tbl"> <Table> <xsl:apply-templates/> </Table> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Problem with Positional G, Florent Georges | Thread | [xsl] Getting WordprocessingML p st, Yves Forkl |
[xsl] Re: xsl-list Digest 2 Feb 200, Andy Carr1 | Date | [xsl] XPath 2.0: string to sequence, Martin Honnen |
Month |