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

RE: newbie : search an attribute's item

Subject: RE: newbie : search an attribute's item
From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx>
Date: Fri, 23 Nov 2001 19:09:24 +0200
msxml lookup attribute
> I have this type of xml document :
> <root><paragraph>blabla <font-size value="22">blablabla</font-size> bla
> bla <font-size value="36">blabla</font-size></paragraph></root>
> 
> I want to be able to print it correctly so I have a stylesheet which
> produces xsl:fo and then I can transform it into pdf with FOP.
> The fo I have to produce is :
> ...
> <fo:block line-height="38pt">blabla <fo:inline
> font-size="22pt">blablabla</fo:inline> bla bla <fo:inline
> font-size="36pt">blabla</fo:inline></fo:block>
> 
> What do I have to write in my paragraph's rule to be able to set the
> line-height of fo:block to the max ot attributes value of font-size + 2

<fo:block line-height="{font-size/@value[not(. &lt;= ../following-sibling::font-size/@value)]+2}">

---
Oleg Tkachenko,
Multiconn International, Israel 


 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.