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

Re: XSL-List Digest V4 #1219

Subject: Re: XSL-List Digest V4 #1219
From: "Kathrin Compostella" <Kathrin.Compostella@xxxxxxxx>
Date: Fri, 11 Apr 2003 11:23:45 +0200 (CEST)
compostella
On Thu, 10 Apr 2003 09:45:41 +0200 (CEST), Kathrin Compostella
wrote:

>>Date: Tue, 8 Apr 2003 10:13:10 +0100
>>From: David Carlisle <davidc@xxxxxxxxx>
>>Subject: Re:  generate-id and page-number-citation
>>
>>It's very hard to guess what your stylesheet is doing without a (small)
>>sample input.
>>      
>Hi David,
>Thanks for the advice that I was generating an empty block by
>mistake.
>
>I have made a mini Sample input for you.
>						occurrence
>        <First_Collection>				(1-n)
>                <Bean_Suggestion key="39">		(1)
>                        <name>
>                         John
>                        </name>
>                        <surname>
>                          Burke
>                        </surname>
>                        <Second_Collection key="1">	(1-n)
>                               < Bean_Finance>		(1)
>                                        <product>
>                                              3
>                                        </product>       
>                        <Second_Collection key="2">
>                               < Bean_Finance>
>                                        <product>
>                                              2
>                                        </product>       
>                        <Second_Collection key="3">
>                               < Bean_Finance>
>                                        <product>
>                                              1
>                                        </product>     
>
>------------------------------------------------------------------
>------
> Note that where I have the following code in the flow, is also
>where I want to generate an id,  
> instead of using '$toc.two' and '$toc.three', so I can refer to
>them
> in the table of contents. (Of course then not under an if
>condition).
> 1.                   <xsl:if test="position()=1">
>                       <fo:block id="{$toc.two}">
>                       </fo:block>
>                        </xsl:if>
>                
> 2.                    <xsl:if test="position() = 1">
>                       <fo:block id="{$toc.three}">
>                       </fo:block>
>                      
></xsl:if>
>------------------------------------------------------------------
>------------     
>Regards,
>Kathrin
>
>
>
>
>
>-
>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.