[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Can axis specifiers be used inside fo:flow?

Subject: Re: Can axis specifiers be used inside fo:flow?
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Tue, 17 Oct 2006 22:32:35 +0530
Re:  Can axis specifiers be used inside fo:flow?
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@xxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.