Subject: Re: [xsl] grouping xhtml title with first sibling From: Florent Georges <lists@xxxxxxxxxxxx> Date: Tue, 18 Jan 2011 16:08:08 +0000 (GMT) |
Matthieu Ricaud-Dussarget wrote: Hi, > <xsl:template match="body/*/f:is-heading(.)" > priority="10"> > I get an "Failed to compile stylesheet" error : > Error at xsl:template on line 23 column 63 of orphans.xsl: > XTSE0340: XSLT Pattern syntax error at char 7 on > line 23 in {body/*/igs:is-heading(.}: > Function call may appear only at the start of a pattern I have not followed this thread in details, but it looks like you want a predicate instead (note the square brackets): <xsl:template match="body/*[f:is-heading(.)]" ... Regards, -- Florent Georges http://fgeorges.org/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] grouping xhtml title with, Matthieu Ricaud-Duss | Thread | Re: [xsl] grouping xhtml title with, Wendell Piez |
Re: [xsl] grouping xhtml title with, Michael Kay | Date | Re: [xsl] grouping xhtml title with, Matthieu Ricaud-Duss |
Month |