Subject: [xsl] Getting WordprocessingML p style / was: Re: [xsl] Problem with Positional Grouping from MSXML From: Yves Forkl <Y.Forkl@xxxxxx> Date: Fri, 02 Feb 2007 17:37:26 +0100 |
<xsl:function name="my:p-style" as="xs:string"> <xsl:param name="p" as="element()"/> <xsl:sequence select="$p/w:pPr/w:pStyle/@w:val"/> </xsl:function>
<xsl:template match="w:p[my:p-style(.) eq 'BodyHeading']"> ...
<xsl:template match="w:p[my:p-style(.) = ('Heading5', 'Heading6')]"> ...
<xsl:function name="my:match-p-style" as="xs:boolean"> <xsl:param name="node" as="element()"/> <xsl:param name="styles"/> <xsl:value-of select="$node/w:pPr/w:pStyle/@w:val = $styles"/> </xsl:function>
<xsl:template match="w:p[my:match-p-style(., 'BodyHeading')]"> ...
<xsl:template match="w:p[my:match-p-style(., ('Heading5', 'Heading6'))]"> ...
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Problem with Positional G, Yves Forkl | Thread | Re: [xsl] Getting WordprocessingML , Florent Georges |
Re: [xsl] XPath 2.0: string to sequ, James A. Robinson | Date | Re: [xsl] How to protect the text o, Mulberry Technologie |
Month |