[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Re: Using the full page for an element


Subject: RE: [xsl] Re: Using the full page for an element
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 26 Aug 2005 08:54:23 +0100

> In correspondence with my previous question, I used
> the following xsl-if, it still didn't work for me.
> 
> <xsl:template match="Question">
>     <fo:block keep-together="always"
> white-space-collapse="false">
> 
> <xsl:if test="Question/FullPage = 'true'">

I suspect your Question element cannot have a Question child.

Incidentally (see other thread) this is one of the errors that will be
caught at compile time if you make your stylesheets schema-aware.

Michael Kay
http://www.saxonica.com/


Current Thread