[xsl] Can axis specifiers be used inside fo:flow?

Subject: [xsl] Can axis specifiers be used inside fo:flow?
From: ms <mina_hurray@xxxxxxxxx>
Date: Tue, 17 Oct 2006 09:38:30 -0700 (PDT)
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.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Current Thread