The answer is "yes". You have to be sure that the XSL file is well-formed.
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.
On 10/17/06, ms <mina_hurray(_at_)yahoo(_dot_)com> wrote:
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--