xsl-list
[Top] [All Lists]

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

2006-10-17 09:38:47
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 

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>