Subject: Re: [xsl] Can axis specifiers be used inside fo:flow? From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Tue, 17 Oct 2006 22:32:35 +0530 |
A good debugging method is, first run XSLT engine on the original XSL (having both XSLT and XSL-FO) file. This will generate pure XSL-FO (XSL-FO markup + data from source XML). Now run FO engine on the XSL-FO. If you don't get any error, and the output is ok, then everything was ok.
Hi all:
Can Axis Specifiers be used inside fo:flow? I have been unsuccessful in trying to use them.
I am actually trying to check if an element is a direct child of another element inside fo:flow:
<fo:flow flow-name="xsl-region-body"> <fo:block> <xsl:choose> <xsl:when test="/root/element1[following-sibling::image]"> <xsl:apply-templates select="/root/element1/image> <fo:block/> </xsl:when> </xsl:choose> </fo:block> </fo:flow>
This does not work.
Please let me know if there is anything wrong in this code or if this kind of checking cannot be done inside fo:flow.
Thank you.
-- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can axis specifiers be us, David Carlisle | Thread | [xsl] Can't use variable as tempora, cknell |
Re: [xsl] XSL and XML Help, David Carlisle | Date | Re: [xsl] Determining if an optiona, David Carlisle |
Month |