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

RE : Setting attributes of FO element

Subject: RE : Setting attributes of FO element
From: "Nicolas Mazziotta" <Nicolas.Mazziotta@xxxxxxxxx>
Date: Wed, 17 Apr 2002 16:10:05 +0200
of.fo
Attention:
<fo:attribute> and <fo:value-of> do not exist.
<xsl:if> must test a value.
What do you want to do? Could you be clearer (more concrete)?

> -----Message d'origine-----
> De?: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
> list@xxxxxxxxxxxxxxxxxxxxxx] De la part de Emma Larsson
> Envoyé?: mercredi 17 avril 2002 15:47
> À?: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Objet?:  Setting attributes of FO element
> 
> Hi all..
> 
> How do I set the attribute to a FO element after the element has been
> declared?
> 
> I want to do something like this:
> 
> <fo:table-cell>
>     <xsl:if test='@colspan'>
>         <fo:attribute name="number-columns-spanned">
>               <fo:value-of select="@colspan" />
>        </fo:attribute>
>     </xsl:if>
> </fo:table-cell>
> 
> That is, I want to set the attribute number-columns-spanned for the
> element table-cell.
> But the attribute is not always set in the XML file, so I can't count
on
> the value being
> set..
> 
> The 'solution' above is not supported, at least not as far as I can
see.
> Is there any other
> way to solve the problem? Any help is appreciated...
> 
> /Emma
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.