bharathi kongara wrote:
> Can somebody tell if the yntax of xsl:if I'm using is
> correct?(If so, why didn't it work)
>
> <xsl:template match="Question">
> <xsl:if test="Question/FullPage = 'true'">

Questions like this are better suited to the XSL list; this is not
specific to FOP.  See <URL: http://www.mulberrytech.com/xsl/xsl-list/ >.

In this case, the problem is that the template match pattern sets the
context for any paths inside it.  So from the context of your Question
element, there is no Question/FullPage, because there is no Question child
of Question.  Change your test to just "FullPage = 'true'".

~Chris
-- 
Christopher R. Maden, Principal Consultant, crism consulting
XML-SGML-HTML-DTDs-schemas-XSL-DSSSL-conversion-training-ebooks-B2B
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to